home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 57 69 6e 64 6f 77 2e |\section|{Window.|
|00000010| 6d 75 69 7d 0a 0a 4f 62 | 6a 65 63 74 73 20 6f 66 |mui}..Ob|jects of|
|00000020| 20 77 69 6e 64 6f 77 20 | 63 6c 61 73 73 20 61 72 | window |class ar|
|00000030| 65 20 75 73 65 64 20 74 | 6f 20 67 65 6e 65 72 61 |e used t|o genera|
|00000040| 74 65 20 77 69 6e 64 6f | 77 73 20 61 6e 64 0a 73 |te windo|ws and.s|
|00000050| 75 70 70 6c 79 20 61 20 | 70 6c 61 63 65 20 77 68 |upply a |place wh|
|00000060| 65 72 65 20 4d 55 49 20 | 67 61 64 67 65 74 73 20 |ere MUI |gadgets |
|00000070| 66 65 65 6c 20 77 65 6c | 6c 2e 20 49 74 20 68 61 |feel wel|l. It ha|
|00000080| 6e 64 6c 65 73 0a 74 68 | 65 20 63 6f 6d 70 6c 69 |ndles.th|e compli|
|00000090| 63 61 74 65 64 20 74 61 | 73 6b 20 6f 66 20 77 69 |cated ta|sk of wi|
|000000a0| 6e 64 6f 77 20 72 65 73 | 69 7a 69 6e 67 20 66 75 |ndow res|izing fu|
|000000b0| 6c 6c 79 20 61 75 74 6f | 6d 61 74 69 63 2c 0a 79 |lly auto|matic,.y|
|000000c0| 6f 75 20 64 6f 6e 27 74 | 20 6e 65 65 64 20 74 6f |ou don't| need to|
|000000d0| 20 77 6f 72 72 79 20 61 | 62 6f 75 74 20 74 68 61 | worry a|bout tha|
|000000e0| 74 2e 0a 0a 57 69 6e 64 | 6f 77 73 20 61 72 65 20 |t...Wind|ows are |
|000000f0| 63 68 69 6c 64 72 65 6e | 20 6f 66 20 61 6e 20 61 |children| of an a|
|00000100| 70 70 6c 69 63 61 74 69 | 6f 6e 2c 20 79 6f 75 20 |pplicati|on, you |
|00000110| 63 61 6e 6e 6f 74 20 75 | 73 65 0a 61 20 77 69 6e |cannot u|se.a win|
|00000120| 64 6f 77 20 6f 62 6a 65 | 63 74 20 77 69 74 68 6f |dow obje|ct witho|
|00000130| 75 74 20 68 61 76 69 6e | 67 20 61 20 70 61 72 65 |ut havin|g a pare|
|00000140| 6e 74 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 0a 6f |nt appli|cation.o|
|00000150| 62 6a 65 63 74 2e 20 4f | 6e 20 74 68 65 20 6f 74 |bject. O|n the ot|
|00000160| 68 65 72 20 73 69 64 65 | 2c 20 74 68 65 20 67 61 |her side|, the ga|
|00000170| 64 67 65 74 73 20 69 6e | 20 61 20 77 69 6e 64 6f |dgets in| a windo|
|00000180| 77 0a 61 72 65 20 63 68 | 69 6c 64 72 65 6e 20 6f |w.are ch|ildren o|
|00000190| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 2c 20 79 6f |f the wi|ndow, yo|
|000001a0| 75 20 63 61 6e 6e 6f 74 | 20 75 73 65 20 4d 55 49 |u cannot| use MUI|
|000001b0| 20 67 61 64 67 65 74 73 | 0a 77 69 74 68 6f 75 74 | gadgets|.without|
|000001c0| 20 68 61 76 69 6e 67 20 | 61 20 70 61 72 65 6e 74 | having |a parent|
|000001d0| 20 4d 55 49 20 77 69 6e | 64 6f 77 2e 0a 0a 43 72 | MUI win|dow...Cr|
|000001e0| 65 61 74 69 6e 67 20 61 | 20 77 69 6e 64 6f 77 20 |eating a| window |
|000001f0| 6f 62 6a 65 63 74 20 64 | 6f 65 73 20 6e 6f 74 20 |object d|oes not |
|00000200| 6d 65 61 6e 20 74 6f 20 | 6f 70 65 6e 20 69 74 0a |mean to |open it.|
|00000210| 69 6e 73 74 61 6e 74 6c | 79 2e 20 54 68 69 73 20 |instantl|y. This |
|00000220| 69 73 20 64 6f 6e 65 20 | 6c 61 74 65 72 20 62 79 |is done |later by|
|00000230| 20 73 65 74 74 69 6e 67 | 20 74 68 65 20 77 69 6e | setting| the win|
|00000240| 64 6f 77 27 73 0a 4d 55 | 49 41 5c 5f 57 69 6e 64 |dow's.MU|IA\_Wind|
|00000250| 6f 77 5c 5f 4f 70 65 6e | 20 61 74 74 72 69 62 75 |ow\_Open| attribu|
|00000260| 74 65 2e 20 49 66 20 79 | 6f 75 72 20 61 70 70 6c |te. If y|our appl|
|00000270| 69 63 61 74 69 6f 6e 20 | 68 61 73 0a 73 65 76 65 |ication |has.seve|
|00000280| 72 61 6c 20 77 69 6e 64 | 6f 77 73 2c 20 74 68 65 |ral wind|ows, the|
|00000290| 20 75 73 75 61 6c 20 77 | 61 79 20 69 73 20 74 6f | usual w|ay is to|
|000002a0| 20 63 72 65 61 74 65 20 | 74 68 65 6d 20 61 6c 6c | create |them all|
|000002b0| 0a 61 74 20 6f 6e 63 65 | 20 61 74 20 73 74 61 72 |.at once| at star|
|000002c0| 74 75 70 20 74 69 6d 65 | 20 61 6e 64 20 6f 70 65 |tup time| and ope|
|000002d0| 6e 2f 63 6c 6f 73 65 20 | 69 74 20 6c 61 74 65 72 |n/close |it later|
|000002e0| 0a 6a 75 73 74 20 62 79 | 20 73 65 74 74 69 6e 67 |.just by| setting|
|000002f0| 20 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 4f | MUIA\_W|indow\_O|
|00000300| 70 65 6e 2e 0a 0a 54 68 | 65 72 65 20 69 73 20 6e |pen...Th|ere is n|
|00000310| 6f 20 64 69 66 66 65 72 | 65 6e 63 65 20 69 6e 20 |o differ|ence in |
|00000320| 74 61 6c 6b 69 6e 67 20 | 74 6f 20 67 61 64 67 65 |talking |to gadge|
|00000330| 74 73 20 77 68 65 74 68 | 65 72 0a 74 68 65 69 72 |ts wheth|er.their|
|00000340| 20 70 61 72 65 6e 74 20 | 77 69 6e 64 6f 77 20 69 | parent |window i|
|00000350| 73 20 6f 70 65 6e 20 6f | 72 20 6e 6f 74 2e 20 49 |s open o|r not. I|
|00000360| 66 20 79 6f 75 20 65 2e | 67 2e 20 73 65 74 0a 74 |f you e.|g. set.t|
|00000370| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 61 |he conte|nts of a|
|00000380| 20 73 74 72 69 6e 67 20 | 67 61 64 67 65 74 20 69 | string |gadget i|
|00000390| 6e 20 61 6e 20 6f 70 65 | 6e 20 77 69 6e 64 6f 77 |n an ope|n window|
|000003a0| 2c 0a 74 68 65 20 67 61 | 64 67 65 74 20 77 69 6c |,.the ga|dget wil|
|000003b0| 6c 20 72 65 66 72 65 73 | 68 20 69 6d 6d 65 64 69 |l refres|h immedi|
|000003c0| 61 74 65 6c 79 2e 20 49 | 66 20 74 68 65 20 77 69 |ately. I|f the wi|
|000003d0| 6e 64 6f 77 20 69 73 0a | 63 6c 6f 73 65 64 2c 20 |ndow is.|closed, |
|000003e0| 74 68 65 20 67 61 64 67 | 65 74 20 6a 75 73 74 20 |the gadg|et just |
|000003f0| 72 65 6d 65 6d 62 65 72 | 73 20 69 74 73 20 6e 65 |remember|s its ne|
|00000400| 77 20 73 65 74 74 69 6e | 67 0a 61 6e 64 20 64 69 |w settin|g.and di|
|00000410| 73 70 6c 61 79 73 20 69 | 74 20 6c 61 74 65 72 2e |splays i|t later.|
|00000420| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00000430| 49 4d 5c 5f 57 69 6e 64 | 6f 77 5c 5f 47 65 74 4d |IM\_Wind|ow\_GetM|
|00000440| 65 6e 75 43 68 65 63 6b | 5d 7b 4d 55 49 4d 5c 5f |enuCheck|]{MUIM\_|
|00000450| 57 69 6e 64 6f 77 5c 5f | 47 65 74 4d 65 6e 75 43 |Window\_|GetMenuC|
|00000460| 68 65 63 6b 20 28 56 34 | 29 20 28 4f 42 53 4f 4c |heck (V4|) (OBSOL|
|00000470| 45 54 45 29 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |ETE)}..\|subsubse|
|00000480| 63 74 69 6f 6e 2a 7b 53 | 59 4e 4f 50 53 49 53 7d |ction*{S|YNOPSIS}|
|00000490| 0a 44 6f 4d 65 74 68 6f | 64 28 6f 62 6a 2c 4d 55 |.DoMetho|d(obj,MU|
|000004a0| 49 4d 5c 5f 57 69 6e 64 | 6f 77 5c 5f 47 65 74 4d |IM\_Wind|ow\_GetM|
|000004b0| 65 6e 75 43 68 65 63 6b | 2c 55 4c 4f 4e 47 20 4d |enuCheck|,ULONG M|
|000004c0| 65 6e 75 49 44 29 3b 0a | 0a 5c 73 75 62 73 75 62 |enuID);.|.\subsub|
|000004d0| 73 65 63 74 69 6f 6e 2a | 7b 46 55 4e 43 54 49 4f |section*|{FUNCTIO|
|000004e0| 4e 7d 0a 41 73 6b 20 77 | 68 65 74 68 65 72 20 61 |N}.Ask w|hether a|
|000004f0| 20 63 68 65 63 6b 6d 61 | 72 6b 20 6d 65 6e 75 20 | checkma|rk menu |
|00000500| 69 74 65 6d 20 68 61 73 | 20 69 74 73 0a 63 68 65 |item has| its.che|
|00000510| 63 6b 6d 61 72 6b 20 73 | 65 74 20 6f 72 20 63 6c |ckmark s|et or cl|
|00000520| 65 61 72 65 64 2e 0a 0a | 5c 73 75 62 73 75 62 73 |eared...|\subsubs|
|00000530| 65 63 74 69 6f 6e 2a 7b | 49 4e 50 55 54 53 7d 0a |ection*{|INPUTS}.|
|00000540| 5c 62 65 67 69 6e 7b 64 | 65 73 63 72 69 70 74 69 |\begin{d|escripti|
|00000550| 6f 6e 7d 0a 5c 69 74 65 | 6d 5b 4d 65 6e 75 49 44 |on}.\ite|m[MenuID|
|00000560| 5d 20 2d 20 74 68 65 20 | 76 61 6c 75 65 20 79 6f |] - the |value yo|
|00000570| 75 20 77 72 6f 74 65 20 | 69 6e 74 6f 20 74 68 65 |u wrote |into the|
|00000580| 0a 55 73 65 72 44 61 74 | 61 20 66 69 65 6c 64 20 |.UserDat|a field |
|00000590| 6f 66 20 73 74 72 75 63 | 74 20 4e 65 77 4d 65 6e |of struc|t NewMen|
|000005a0| 75 2e 0a 5c 65 6e 64 7b | 64 65 73 63 72 69 70 74 |u..\end{|descript|
|000005b0| 69 6f 6e 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |ion}..\s|ubsubsec|
|000005c0| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|000005d0| 4d 55 49 4d 5c 5f 57 69 | 6e 64 6f 77 5c 5f 53 65 |MUIM\_Wi|ndow\_Se|
|000005e0| 74 4d 65 6e 75 43 68 65 | 63 6b 2c 20 4d 55 49 41 |tMenuChe|ck, MUIA|
|000005f0| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 4d 65 6e 75 0a 0a |\_Window|\_Menu..|
|00000600| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 4d |\subsect|ion[MUIM|
|00000610| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 47 65 74 4d 65 6e |\_Window|\_GetMen|
|00000620| 75 53 74 61 74 65 5d 7b | 4d 55 49 4d 5c 5f 57 69 |uState]{|MUIM\_Wi|
|00000630| 6e 64 6f 77 5c 5f 47 65 | 74 4d 65 6e 75 53 74 61 |ndow\_Ge|tMenuSta|
|00000640| 74 65 20 28 56 34 29 20 | 28 4f 42 53 4f 4c 45 54 |te (V4) |(OBSOLET|
|00000650| 45 29 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |E)}..\su|bsubsect|
|00000660| 69 6f 6e 2a 7b 53 59 4e | 4f 50 53 49 53 7d 0a 44 |ion*{SYN|OPSIS}.D|
|00000670| 6f 4d 65 74 68 6f 64 28 | 6f 62 6a 2c 4d 55 49 4d |oMethod(|obj,MUIM|
|00000680| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 47 65 74 4d 65 6e |\_Window|\_GetMen|
|00000690| 75 53 74 61 74 65 2c 55 | 4c 4f 4e 47 20 4d 65 6e |uState,U|LONG Men|
|000006a0| 75 49 44 29 3b 0a 0a 5c | 73 75 62 73 75 62 73 65 |uID);..\|subsubse|
|000006b0| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|000006c0| 0a 41 73 6b 20 77 68 65 | 74 68 65 72 20 61 20 6d |.Ask whe|ther a m|
|000006d0| 65 6e 75 20 69 74 65 6d | 20 69 73 20 65 6e 61 62 |enu item| is enab|
|000006e0| 6c 65 64 20 6f 72 20 64 | 69 73 61 62 6c 65 64 2e |led or d|isabled.|
|000006f0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00000700| 2a 7b 49 4e 50 55 54 53 | 7d 0a 5c 62 65 67 69 6e |*{INPUTS|}.\begin|
|00000710| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0a 5c 69 |{descrip|tion}.\i|
|00000720| 74 65 6d 5b 4d 65 6e 75 | 49 44 5d 20 2d 20 74 68 |tem[Menu|ID] - th|
|00000730| 65 20 76 61 6c 75 65 20 | 79 6f 75 20 77 72 6f 74 |e value |you wrot|
|00000740| 65 20 69 6e 74 6f 20 74 | 68 65 0a 55 73 65 72 44 |e into t|he.UserD|
|00000750| 61 74 61 20 66 69 65 6c | 64 20 6f 66 20 73 74 72 |ata fiel|d of str|
|00000760| 75 63 74 20 4e 65 77 4d | 65 6e 75 2e 0a 5c 65 6e |uct NewM|enu..\en|
|00000770| 64 7b 64 65 73 63 72 69 | 70 74 69 6f 6e 7d 0a 0a |d{descri|ption}..|
|00000780| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00000790| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 4d 5c 5f |SEE ALSO|}.MUIM\_|
|000007a0| 57 69 6e 64 6f 77 5c 5f | 53 65 74 4d 65 6e 75 53 |Window\_|SetMenuS|
|000007b0| 74 61 74 65 2c 20 4d 55 | 49 41 5c 5f 57 69 6e 64 |tate, MU|IA\_Wind|
|000007c0| 6f 77 5c 5f 4d 65 6e 75 | 0a 0a 5c 73 75 62 73 65 |ow\_Menu|..\subse|
|000007d0| 63 74 69 6f 6e 5b 4d 55 | 49 4d 5c 5f 57 69 6e 64 |ction[MU|IM\_Wind|
|000007e0| 6f 77 5c 5f 53 63 72 65 | 65 6e 54 6f 42 61 63 6b |ow\_Scre|enToBack|
|000007f0| 5d 7b 4d 55 49 4d 5c 5f | 57 69 6e 64 6f 77 5c 5f |]{MUIM\_|Window\_|
|00000800| 53 63 72 65 65 6e 54 6f | 42 61 63 6b 20 28 56 34 |ScreenTo|Back (V4|
|00000810| 29 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |)}..\sub|subsecti|
|00000820| 6f 6e 2a 7b 53 59 4e 4f | 50 53 49 53 7d 0a 44 6f |on*{SYNO|PSIS}.Do|
|00000830| 4d 65 74 68 6f 64 28 6f | 62 6a 2c 4d 55 49 4d 5c |Method(o|bj,MUIM\|
|00000840| 5f 57 69 6e 64 6f 77 5c | 5f 53 63 72 65 65 6e 54 |_Window\|_ScreenT|
|00000850| 6f 42 61 63 6b 2c 29 3b | 0a 0a 5c 73 75 62 73 75 |oBack,);|..\subsu|
|00000860| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|00000870| 4f 4e 7d 0a 50 75 74 20 | 74 68 65 20 77 69 6e 64 |ON}.Put |the wind|
|00000880| 6f 77 27 73 20 73 63 72 | 65 65 6e 20 74 6f 20 62 |ow's scr|een to b|
|00000890| 61 63 6b 2e 20 54 68 69 | 73 20 63 6f 6d 6d 61 6e |ack. Thi|s comman|
|000008a0| 64 20 69 73 0a 6f 6e 6c | 79 20 76 61 6c 69 64 20 |d is.onl|y valid |
|000008b0| 77 68 65 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |when the| window |
|000008c0| 69 73 20 6f 70 65 6e 65 | 64 2e 0a 0a 5c 73 75 62 |is opene|d...\sub|
|000008d0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|000008e0| 41 4c 53 4f 7d 0a 4d 55 | 49 4d 5c 5f 57 69 6e 64 |ALSO}.MU|IM\_Wind|
|000008f0| 6f 77 5c 5f 53 63 72 65 | 65 6e 54 6f 46 72 6f 6e |ow\_Scre|enToFron|
|00000900| 74 2c 20 4d 55 49 4d 5c | 5f 57 69 6e 64 6f 77 5c |t, MUIM\|_Window\|
|00000910| 5f 54 6f 46 72 6f 6e 74 | 2c 0a 4d 55 49 4d 5c 5f |_ToFront|,.MUIM\_|
|00000920| 57 69 6e 64 6f 77 5c 5f | 54 6f 42 61 63 6b 0a 0a |Window\_|ToBack..|
|00000930| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 4d |\subsect|ion[MUIM|
|00000940| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 53 63 72 65 65 6e |\_Window|\_Screen|
|00000950| 54 6f 46 72 6f 6e 74 5d | 7b 4d 55 49 4d 5c 5f 57 |ToFront]|{MUIM\_W|
|00000960| 69 6e 64 6f 77 5c 5f 53 | 63 72 65 65 6e 54 6f 46 |indow\_S|creenToF|
|00000970| 72 6f 6e 74 20 28 56 34 | 29 7d 0a 0a 5c 73 75 62 |ront (V4|)}..\sub|
|00000980| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 59 4e 4f |subsecti|on*{SYNO|
|00000990| 50 53 49 53 7d 0a 44 6f | 4d 65 74 68 6f 64 28 6f |PSIS}.Do|Method(o|
|000009a0| 62 6a 2c 4d 55 49 4d 5c | 5f 57 69 6e 64 6f 77 5c |bj,MUIM\|_Window\|
|000009b0| 5f 53 63 72 65 65 6e 54 | 6f 46 72 6f 6e 74 2c 29 |_ScreenT|oFront,)|
|000009c0| 3b 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |;..\subs|ubsectio|
|000009d0| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 50 75 74 |n*{FUNCT|ION}.Put|
|000009e0| 20 74 68 65 20 77 69 6e | 64 6f 77 27 73 20 73 63 | the win|dow's sc|
|000009f0| 72 65 65 6e 20 74 6f 20 | 66 6f 6e 74 2e 20 54 68 |reen to |font. Th|
|00000a00| 69 73 20 63 6f 6d 6d 61 | 6e 64 20 69 73 0a 6f 6e |is comma|nd is.on|
|00000a10| 6c 79 20 76 61 6c 69 64 | 20 77 68 65 6e 20 74 68 |ly valid| when th|
|00000a20| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 6f 70 65 6e |e window| is open|
|00000a30| 65 64 2e 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |ed...\su|bsubsect|
|00000a40| 69 6f 6e 2a 7b 53 45 45 | 20 41 4c 53 4f 7d 0a 4d |ion*{SEE| ALSO}.M|
|00000a50| 55 49 4d 5c 5f 57 69 6e | 64 6f 77 5c 5f 53 63 72 |UIM\_Win|dow\_Scr|
|00000a60| 65 65 6e 54 6f 42 61 63 | 6b 2c 20 4d 55 49 4d 5c |eenToBac|k, MUIM\|
|00000a70| 5f 57 69 6e 64 6f 77 5c | 5f 54 6f 46 72 6f 6e 74 |_Window\|_ToFront|
|00000a80| 2c 0a 4d 55 49 4d 5c 5f | 57 69 6e 64 6f 77 5c 5f |,.MUIM\_|Window\_|
|00000a90| 54 6f 42 61 63 6b 0a 0a | 5c 73 75 62 73 65 63 74 |ToBack..|\subsect|
|00000aa0| 69 6f 6e 5b 4d 55 49 4d | 5c 5f 57 69 6e 64 6f 77 |ion[MUIM|\_Window|
|00000ab0| 5c 5f 53 65 74 43 79 63 | 6c 65 43 68 61 69 6e 5d |\_SetCyc|leChain]|
|00000ac0| 7b 4d 55 49 4d 5c 5f 57 | 69 6e 64 6f 77 5c 5f 53 |{MUIM\_W|indow\_S|
|00000ad0| 65 74 43 79 63 6c 65 43 | 68 61 69 6e 20 28 56 34 |etCycleC|hain (V4|
|00000ae0| 29 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |)}..\sub|subsecti|
|00000af0| 6f 6e 2a 7b 53 59 4e 4f | 50 53 49 53 7d 0a 44 6f |on*{SYNO|PSIS}.Do|
|00000b00| 4d 65 74 68 6f 64 28 6f | 62 6a 2c 4d 55 49 4d 5c |Method(o|bj,MUIM\|
|00000b10| 5f 57 69 6e 64 6f 77 5c | 5f 53 65 74 43 79 63 6c |_Window\|_SetCycl|
|00000b20| 65 43 68 61 69 6e 2c 4f | 62 6a 65 63 74 20 24 5c |eChain,O|bject $\|
|00000b30| 61 73 74 24 6f 62 6a 5b | 31 5d 29 3b 0a 0a 5c 73 |ast$obj[|1]);..\s|
|00000b40| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|00000b50| 4e 43 54 49 4f 4e 7d 0a | 53 65 74 20 74 68 65 20 |NCTION}.|Set the |
|00000b60| 63 79 63 6c 65 20 63 68 | 61 69 6e 20 66 6f 72 20 |cycle ch|ain for |
|00000b70| 61 20 77 69 6e 64 6f 77 | 2e 20 54 6f 20 6d 61 6b |a window|. To mak|
|00000b80| 65 20 4d 55 49 27 73 20 | 6b 65 79 62 6f 61 72 64 |e MUI's |keyboard|
|00000b90| 0a 63 6f 6e 74 72 6f 6c | 20 77 6f 72 6b 2c 20 79 |.control| work, y|
|00000ba0| 6f 75 20 6e 65 65 64 20 | 74 6f 20 73 65 74 75 70 |ou need |to setup|
|00000bb0| 20 61 20 63 68 61 69 6e | 20 6f 66 20 6f 62 6a 65 | a chain| of obje|
|00000bc0| 63 74 73 20 74 68 61 74 | 0a 73 68 6f 75 6c 64 20 |cts that|.should |
|00000bd0| 62 65 20 61 63 74 69 76 | 61 74 61 62 6c 65 20 77 |be activ|atable w|
|00000be0| 69 74 68 20 74 68 65 20 | 74 61 62 20 6b 65 79 2e |ith the |tab key.|
|00000bf0| 20 54 68 69 73 20 63 61 | 6e 20 62 65 0a 61 6e 79 | This ca|n be.any|
|00000c00| 20 6f 62 6a 65 63 74 73 | 20 79 6f 75 20 77 69 73 | objects| you wis|
|00000c10| 68 2c 20 4d 55 49 20 73 | 75 70 70 6f 72 74 73 20 |h, MUI s|upports |
|00000c20| 63 6f 6d 70 6c 65 74 65 | 20 6b 65 79 62 6f 61 72 |complete| keyboar|
|00000c30| 64 0a 68 61 6e 64 6c 69 | 6e 67 20 65 76 65 6e 20 |d.handli|ng even |
|00000c40| 66 6f 72 20 73 6c 69 64 | 65 72 73 20 6f 72 20 6c |for slid|ers or l|
|00000c50| 69 73 74 76 69 65 77 73 | 2e 0a 0a 49 66 20 79 6f |istviews|...If yo|
|00000c60| 75 20 66 6f 72 67 65 74 | 20 74 6f 20 73 65 74 20 |u forget| to set |
|00000c70| 61 20 63 79 63 6c 65 20 | 63 68 61 69 6e 20 62 65 |a cycle |chain be|
|00000c80| 63 61 75 73 65 20 79 6f | 75 0a 61 72 65 20 61 20 |cause yo|u.are a |
|00000c90| 6d 6f 75 73 65 2d 6d 61 | 6e 2c 20 79 6f 75 20 63 |mouse-ma|n, you c|
|00000ca0| 65 72 74 61 69 6e 6c 79 | 20 77 69 6c 6c 20 61 6e |ertainly| will an|
|00000cb0| 6e 6f 79 20 73 6f 6d 65 | 0a 75 73 65 72 73 20 6f |noy some|.users o|
|00000cc0| 66 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |f your a|pplicati|
|00000cd0| 6f 6e 21 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |on!..\su|bsubsect|
|00000ce0| 69 6f 6e 2a 7b 49 4e 50 | 55 54 53 7d 0a 4f 6e 65 |ion*{INP|UTS}.One|
|00000cf0| 20 6f 72 20 6d 6f 72 65 | 20 6f 62 6a 65 63 74 73 | or more| objects|
|00000d00| 2c 20 74 65 72 6d 69 6e | 61 74 65 64 20 77 69 74 |, termin|ated wit|
|00000d10| 68 20 61 20 4e 55 4c 4c | 2e 0a 0a 5c 73 75 62 73 |h a NULL|...\subs|
|00000d20| 75 62 73 65 63 74 69 6f | 6e 2a 7b 45 58 41 4d 50 |ubsectio|n*{EXAMP|
|00000d30| 4c 45 7d 0a 5c 73 6d 61 | 6c 6c 0a 5c 62 65 67 69 |LE}.\sma|ll.\begi|
|00000d40| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 44 6f 4d 65 |n{verbat|im}.DoMe|
|00000d50| 74 68 6f 64 28 77 69 6e | 64 6f 77 2c 4d 55 49 4d |thod(win|dow,MUIM|
|00000d60| 5f 57 69 6e 64 6f 77 5f | 53 65 74 43 79 63 6c 65 |_Window_|SetCycle|
|00000d70| 43 68 61 69 6e 2c 0a 20 | 20 20 73 74 72 31 2c 73 |Chain,. | str1,s|
|00000d80| 74 72 32 2c 73 6c 69 64 | 65 31 2c 6c 69 73 74 2c |tr2,slid|e1,list,|
|00000d90| 72 61 64 69 6f 2c 63 79 | 63 6c 65 31 2c 63 79 63 |radio,cy|cle1,cyc|
|00000da0| 6c 65 32 2c 4e 55 4c 4c | 29 3b 0a 0a 5c 65 6e 64 |le2,NULL|);..\end|
|00000db0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 5c 6e 6f 72 6d |{verbati|m}.\norm|
|00000dc0| 61 6c 73 69 7a 65 0a 5c | 73 75 62 73 75 62 73 65 |alsize.\|subsubse|
|00000dd0| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|00000de0| 0a 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 41 |.MUIA\_W|indow\_A|
|00000df0| 63 74 69 76 65 4f 62 6a | 65 63 74 0a 0a 5c 73 75 |ctiveObj|ect..\su|
|00000e00| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 4d 5c 5f 57 |bsection|[MUIM\_W|
|00000e10| 69 6e 64 6f 77 5c 5f 53 | 65 74 4d 65 6e 75 43 68 |indow\_S|etMenuCh|
|00000e20| 65 63 6b 5d 7b 4d 55 49 | 4d 5c 5f 57 69 6e 64 6f |eck]{MUI|M\_Windo|
|00000e30| 77 5c 5f 53 65 74 4d 65 | 6e 75 43 68 65 63 6b 20 |w\_SetMe|nuCheck |
|00000e40| 28 56 34 29 20 28 4f 42 | 53 4f 4c 45 54 45 29 7d |(V4) (OB|SOLETE)}|
|00000e50| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00000e60| 2a 7b 53 59 4e 4f 50 53 | 49 53 7d 0a 44 6f 4d 65 |*{SYNOPS|IS}.DoMe|
|00000e70| 74 68 6f 64 28 6f 62 6a | 2c 4d 55 49 4d 5c 5f 57 |thod(obj|,MUIM\_W|
|00000e80| 69 6e 64 6f 77 5c 5f 53 | 65 74 4d 65 6e 75 43 68 |indow\_S|etMenuCh|
|00000e90| 65 63 6b 2c 55 4c 4f 4e | 47 20 4d 65 6e 75 49 44 |eck,ULON|G MenuID|
|00000ea0| 2c 20 4c 4f 4e 47 20 73 | 74 61 74 29 3b 0a 0a 5c |, LONG s|tat);..\|
|00000eb0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00000ec0| 55 4e 43 54 49 4f 4e 7d | 0a 53 65 74 20 6f 72 20 |UNCTION}|.Set or |
|00000ed0| 63 6c 65 61 72 20 74 68 | 65 20 63 68 65 63 6b 6d |clear th|e checkm|
|00000ee0| 61 72 6b 20 6f 66 20 61 | 20 6d 65 6e 75 20 69 74 |ark of a| menu it|
|00000ef0| 65 6d 2e 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |em...\su|bsubsect|
|00000f00| 69 6f 6e 2a 7b 49 4e 50 | 55 54 53 7d 0a 5c 62 65 |ion*{INP|UTS}.\be|
|00000f10| 67 69 6e 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |gin{desc|ription}|
|00000f20| 0a 5c 69 74 65 6d 5b 4d | 65 6e 75 49 44 5d 20 2d |.\item[M|enuID] -|
|00000f30| 20 74 68 65 20 76 61 6c | 75 65 20 79 6f 75 20 77 | the val|ue you w|
|00000f40| 72 6f 74 65 20 69 6e 74 | 6f 20 74 68 65 0a 55 73 |rote int|o the.Us|
|00000f50| 65 72 44 61 74 61 20 66 | 69 65 6c 64 20 6f 66 20 |erData f|ield of |
|00000f60| 73 74 72 75 63 74 20 4e | 65 77 4d 65 6e 75 2e 0a |struct N|ewMenu..|
|00000f70| 0a 5c 69 74 65 6d 5b 73 | 65 74 5d 20 20 20 20 2d |.\item[s|et] -|
|00000f80| 20 54 52 55 45 20 74 6f | 20 73 65 74 20 63 68 65 | TRUE to| set che|
|00000f90| 63 6b 6d 61 72 6b 2c 20 | 46 41 4c 53 45 20 74 6f |ckmark, |FALSE to|
|00000fa0| 20 63 6c 65 61 72 0a 5c | 65 6e 64 7b 64 65 73 63 | clear.\|end{desc|
|00000fb0| 72 69 70 74 69 6f 6e 7d | 0a 0a 5c 73 75 62 73 75 |ription}|..\subsu|
|00000fc0| 62 73 65 63 74 69 6f 6e | 2a 7b 53 45 45 20 41 4c |bsection|*{SEE AL|
|00000fd0| 53 4f 7d 0a 4d 55 49 4d | 5c 5f 57 69 6e 64 6f 77 |SO}.MUIM|\_Window|
|00000fe0| 5c 5f 47 65 74 4d 65 6e | 75 43 68 65 63 6b 2c 20 |\_GetMen|uCheck, |
|00000ff0| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 4d 65 |MUIA\_Wi|ndow\_Me|
|00001000| 6e 75 2c 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |nu,..\su|bsection|
|00001010| 5b 4d 55 49 4d 5c 5f 57 | 69 6e 64 6f 77 5c 5f 53 |[MUIM\_W|indow\_S|
|00001020| 65 74 4d 65 6e 75 53 74 | 61 74 65 5d 7b 4d 55 49 |etMenuSt|ate]{MUI|
|00001030| 4d 5c 5f 57 69 6e 64 6f | 77 5c 5f 53 65 74 4d 65 |M\_Windo|w\_SetMe|
|00001040| 6e 75 53 74 61 74 65 20 | 28 56 34 29 20 28 4f 42 |nuState |(V4) (OB|
|00001050| 53 4f 4c 45 54 45 29 7d | 0a 0a 5c 73 75 62 73 75 |SOLETE)}|..\subsu|
|00001060| 62 73 65 63 74 69 6f 6e | 2a 7b 53 59 4e 4f 50 53 |bsection|*{SYNOPS|
|00001070| 49 53 7d 0a 44 6f 4d 65 | 74 68 6f 64 28 6f 62 6a |IS}.DoMe|thod(obj|
|00001080| 2c 4d 55 49 4d 5c 5f 57 | 69 6e 64 6f 77 5c 5f 53 |,MUIM\_W|indow\_S|
|00001090| 65 74 4d 65 6e 75 53 74 | 61 74 65 2c 55 4c 4f 4e |etMenuSt|ate,ULON|
|000010a0| 47 20 4d 65 6e 75 49 44 | 2c 20 4c 4f 4e 47 20 73 |G MenuID|, LONG s|
|000010b0| 74 61 74 29 3b 0a 0a 5c | 73 75 62 73 75 62 73 65 |tat);..\|subsubse|
|000010c0| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|000010d0| 0a 45 6e 61 62 6c 65 20 | 6f 72 20 64 69 73 61 62 |.Enable |or disab|
|000010e0| 6c 65 20 61 20 6d 65 6e | 75 20 69 74 65 6d 2e 0a |le a men|u item..|
|000010f0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00001100| 7b 49 4e 50 55 54 53 7d | 0a 5c 62 65 67 69 6e 7b |{INPUTS}|.\begin{|
|00001110| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 5c 69 74 |descript|ion}.\it|
|00001120| 65 6d 5b 4d 65 6e 75 49 | 44 5d 20 2d 20 74 68 65 |em[MenuI|D] - the|
|00001130| 20 76 61 6c 75 65 20 79 | 6f 75 20 77 72 6f 74 65 | value y|ou wrote|
|00001140| 20 69 6e 74 6f 20 74 68 | 65 0a 55 73 65 72 44 61 | into th|e.UserDa|
|00001150| 74 61 20 66 69 65 6c 64 | 20 6f 66 20 73 74 72 75 |ta field| of stru|
|00001160| 63 74 20 4e 65 77 4d 65 | 6e 75 2e 0a 5c 69 74 65 |ct NewMe|nu..\ite|
|00001170| 6d 5b 73 65 74 5d 20 20 | 20 20 2d 20 54 52 55 45 |m[set] | - TRUE|
|00001180| 20 74 6f 20 65 6e 61 62 | 6c 65 20 69 74 65 6d 2c | to enab|le item,|
|00001190| 20 46 41 4c 53 45 20 74 | 6f 20 64 69 73 61 62 6c | FALSE t|o disabl|
|000011a0| 65 2e 0a 5c 65 6e 64 7b | 64 65 73 63 72 69 70 74 |e..\end{|descript|
|000011b0| 69 6f 6e 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |ion}..\s|ubsubsec|
|000011c0| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|000011d0| 4d 55 49 4d 5c 5f 57 69 | 6e 64 6f 77 5c 5f 47 65 |MUIM\_Wi|ndow\_Ge|
|000011e0| 74 4d 65 6e 75 53 74 61 | 74 65 2c 20 4d 55 49 41 |tMenuSta|te, MUIA|
|000011f0| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 4d 65 6e 75 2c 0a |\_Window|\_Menu,.|
|00001200| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 5b 4d 55 49 |.\subsec|tion[MUI|
|00001210| 4d 5c 5f 57 69 6e 64 6f | 77 5c 5f 54 6f 42 61 63 |M\_Windo|w\_ToBac|
|00001220| 6b 5d 7b 4d 55 49 4d 5c | 5f 57 69 6e 64 6f 77 5c |k]{MUIM\|_Window\|
|00001230| 5f 54 6f 42 61 63 6b 20 | 28 56 34 29 7d 0a 0a 5c |_ToBack |(V4)}..\|
|00001240| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00001250| 59 4e 4f 50 53 49 53 7d | 0a 44 6f 4d 65 74 68 6f |YNOPSIS}|.DoMetho|
|00001260| 64 28 6f 62 6a 2c 4d 55 | 49 4d 5c 5f 57 69 6e 64 |d(obj,MU|IM\_Wind|
|00001270| 6f 77 5c 5f 54 6f 42 61 | 63 6b 2c 29 3b 0a 0a 5c |ow\_ToBa|ck,);..\|
|00001280| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00001290| 55 4e 43 54 49 4f 4e 7d | 0a 50 75 74 20 74 68 65 |UNCTION}|.Put the|
|000012a0| 20 77 69 6e 64 6f 77 20 | 74 6f 20 62 61 63 6b 2e | window |to back.|
|000012b0| 20 57 68 65 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 | When th|e window|
|000012c0| 20 69 73 20 6e 6f 74 20 | 63 75 72 72 65 6e 74 6c | is not |currentl|
|000012d0| 79 20 6f 70 65 6e 2c 0a | 74 68 69 73 20 63 6f 6d |y open,.|this com|
|000012e0| 6d 61 6e 64 20 64 6f 65 | 73 20 73 69 6d 70 6c 79 |mand doe|s simply|
|000012f0| 20 6e 6f 74 68 69 6e 67 | 2e 0a 0a 5c 73 75 62 73 | nothing|...\subs|
|00001300| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|00001310| 4c 53 4f 7d 0a 4d 55 49 | 4d 5c 5f 57 69 6e 64 6f |LSO}.MUI|M\_Windo|
|00001320| 77 5c 5f 54 6f 46 72 6f | 6e 74 2c 20 4d 55 49 4d |w\_ToFro|nt, MUIM|
|00001330| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 53 63 72 65 65 6e |\_Window|\_Screen|
|00001340| 54 6f 46 72 6f 6e 74 2c | 0a 4d 55 49 4d 5c 5f 57 |ToFront,|.MUIM\_W|
|00001350| 69 6e 64 6f 77 5c 5f 53 | 63 72 65 65 6e 54 6f 42 |indow\_S|creenToB|
|00001360| 61 63 6b 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |ack..\su|bsection|
|00001370| 5b 4d 55 49 4d 5c 5f 57 | 69 6e 64 6f 77 5c 5f 54 |[MUIM\_W|indow\_T|
|00001380| 6f 46 72 6f 6e 74 5d 7b | 4d 55 49 4d 5c 5f 57 69 |oFront]{|MUIM\_Wi|
|00001390| 6e 64 6f 77 5c 5f 54 6f | 46 72 6f 6e 74 20 28 56 |ndow\_To|Front (V|
|000013a0| 34 29 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |4)}..\su|bsubsect|
|000013b0| 69 6f 6e 2a 7b 53 59 4e | 4f 50 53 49 53 7d 0a 44 |ion*{SYN|OPSIS}.D|
|000013c0| 6f 4d 65 74 68 6f 64 28 | 6f 62 6a 2c 4d 55 49 4d |oMethod(|obj,MUIM|
|000013d0| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 54 6f 46 72 6f 6e |\_Window|\_ToFron|
|000013e0| 74 2c 29 3b 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |t,);..\s|ubsubsec|
|000013f0| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|00001400| 50 75 74 20 74 68 65 20 | 77 69 6e 64 6f 77 20 74 |Put the |window t|
|00001410| 6f 20 66 72 6f 6e 74 2e | 20 57 68 65 6e 20 74 68 |o front.| When th|
|00001420| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 6e 6f 74 20 |e window| is not |
|00001430| 63 75 72 72 65 6e 74 6c | 79 20 6f 70 65 6e 2c 0a |currentl|y open,.|
|00001440| 74 68 69 73 20 63 6f 6d | 6d 61 6e 64 20 64 6f 65 |this com|mand doe|
|00001450| 73 20 73 69 6d 70 6c 79 | 20 6e 6f 74 68 69 6e 67 |s simply| nothing|
|00001460| 2e 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|00001470| 6e 2a 7b 53 45 45 20 41 | 4c 53 4f 7d 0a 4d 55 49 |n*{SEE A|LSO}.MUI|
|00001480| 4d 5c 5f 57 69 6e 64 6f | 77 5c 5f 54 6f 42 61 63 |M\_Windo|w\_ToBac|
|00001490| 6b 2c 20 4d 55 49 4d 5c | 5f 57 69 6e 64 6f 77 5c |k, MUIM\|_Window\|
|000014a0| 5f 53 63 72 65 65 6e 54 | 6f 46 72 6f 6e 74 2c 0a |_ScreenT|oFront,.|
|000014b0| 4d 55 49 4d 5c 5f 57 69 | 6e 64 6f 77 5c 5f 53 63 |MUIM\_Wi|ndow\_Sc|
|000014c0| 72 65 65 6e 54 6f 42 61 | 63 6b 0a 0a 5c 73 75 62 |reenToBa|ck..\sub|
|000014d0| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 57 69 |section[|MUIA\_Wi|
|000014e0| 6e 64 6f 77 5c 5f 41 63 | 74 69 76 61 74 65 5d 7b |ndow\_Ac|tivate]{|
|000014f0| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 41 63 |MUIA\_Wi|ndow\_Ac|
|00001500| 74 69 76 61 74 65 20 2d | 2d 20 28 56 34 29 20 5b |tivate -|- (V4) [|
|00001510| 49 53 47 5d 2c 20 42 4f | 4f 4c 7d 0a 0a 5c 73 75 |ISG], BO|OL}..\su|
|00001520| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|00001530| 43 54 49 4f 4e 7d 0a 53 | 65 74 74 69 6e 67 20 74 |CTION}.S|etting t|
|00001540| 68 69 73 20 74 6f 20 54 | 52 55 45 20 77 69 6c 6c |his to T|RUE will|
|00001550| 20 61 63 74 69 76 61 74 | 65 20 74 68 65 20 77 69 | activat|e the wi|
|00001560| 6e 64 6f 77 2e 0a 53 65 | 74 74 69 6e 67 20 74 68 |ndow..Se|tting th|
|00001570| 69 73 20 74 6f 20 46 41 | 4c 53 45 20 68 61 73 20 |is to FA|LSE has |
|00001580| 6e 6f 20 65 66 66 65 63 | 74 2e 0a 54 68 65 20 61 |no effec|t..The a|
|00001590| 74 74 72 69 62 75 74 65 | 20 77 69 6c 6c 20 63 68 |ttribute| will ch|
|000015a0| 61 6e 67 65 20 77 68 65 | 6e 65 76 65 72 20 74 68 |ange whe|never th|
|000015b0| 65 20 75 73 65 72 0a 61 | 63 74 69 76 61 74 65 73 |e user.a|ctivates|
|000015c0| 2f 64 65 61 63 74 69 76 | 61 74 65 73 20 74 68 65 |/deactiv|ates the|
|000015d0| 20 77 69 6e 64 6f 77 2e | 0a 0a 53 70 65 63 69 66 | window.|..Specif|
|000015e0| 79 69 6e 67 20 46 41 4c | 53 45 20 61 74 20 6f 62 |ying FAL|SE at ob|
|000015f0| 6a 65 63 74 20 63 72 65 | 61 74 69 6f 6e 20 74 69 |ject cre|ation ti|
|00001600| 6d 65 20 77 69 6c 6c 20 | 6d 61 6b 65 0a 74 68 65 |me will |make.the|
|00001610| 20 77 69 6e 64 6f 77 20 | 6f 70 65 6e 20 69 6e 20 | window |open in |
|00001620| 61 6e 20 69 6e 61 63 74 | 69 76 65 20 73 74 61 74 |an inact|ive stat|
|00001630| 65 2e 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 5b |e...\sub|section[|
|00001640| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 41 63 |MUIA\_Wi|ndow\_Ac|
|00001650| 74 69 76 65 4f 62 6a 65 | 63 74 5d 7b 4d 55 49 41 |tiveObje|ct]{MUIA|
|00001660| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 41 63 74 69 76 65 |\_Window|\_Active|
|00001670| 4f 62 6a 65 63 74 20 2d | 2d 20 28 56 34 29 20 5b |Object -|- (V4) [|
|00001680| 2e 53 47 5d 2c 20 4f 62 | 6a 65 63 74 20 24 5c 61 |.SG], Ob|ject $\a|
|00001690| 73 74 24 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |st$}..\s|ubsubsec|
|000016a0| 74 69 6f 6e 2a 7b 53 50 | 45 43 49 41 4c 20 49 4e |tion*{SP|ECIAL IN|
|000016b0| 50 55 54 53 7d 0a 4d 55 | 49 56 5c 5f 57 69 6e 64 |PUTS}.MU|IV\_Wind|
|000016c0| 6f 77 5c 5f 41 63 74 69 | 76 65 4f 62 6a 65 63 74 |ow\_Acti|veObject|
|000016d0| 5c 5f 4e 6f 6e 65 5c 5c | 0a 4d 55 49 56 5c 5f 57 |\_None\\|.MUIV\_W|
|000016e0| 69 6e 64 6f 77 5c 5f 41 | 63 74 69 76 65 4f 62 6a |indow\_A|ctiveObj|
|000016f0| 65 63 74 5c 5f 4e 65 78 | 74 5c 5c 0a 4d 55 49 56 |ect\_Nex|t\\.MUIV|
|00001700| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 41 63 74 69 76 65 |\_Window|\_Active|
|00001710| 4f 62 6a 65 63 74 5c 5f | 50 72 65 76 5c 5c 0a 0a |Object\_|Prev\\..|
|00001720| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00001730| 46 55 4e 43 54 49 4f 4e | 7d 0a 53 65 74 20 74 68 |FUNCTION|}.Set th|
|00001740| 65 20 61 63 74 69 76 65 | 20 6f 62 6a 65 63 74 20 |e active| object |
|00001750| 69 6e 20 61 20 77 69 6e | 64 6f 77 20 61 73 20 69 |in a win|dow as i|
|00001760| 66 20 74 68 65 20 75 73 | 65 72 0a 77 6f 75 6c 64 |f the us|er.would|
|00001770| 20 68 61 76 65 20 61 63 | 74 69 76 61 74 65 64 20 | have ac|tivated |
|00001780| 69 74 20 77 69 74 68 20 | 74 68 65 20 74 61 62 20 |it with |the tab |
|00001790| 6b 65 79 2e 20 54 68 65 | 0a 6f 62 6a 65 63 74 20 |key. The|.object |
|000017a0| 68 61 73 20 74 6f 20 62 | 65 20 69 6e 20 74 68 65 |has to b|e in the|
|000017b0| 20 63 79 63 6c 65 20 63 | 68 61 69 6e 20 66 6f 72 | cycle c|hain for|
|000017c0| 20 74 68 69 73 0a 63 6f | 6d 6d 61 6e 64 20 74 6f | this.co|mmand to|
|000017d0| 20 77 6f 72 6b 2e 0a 0a | 5c 73 75 62 73 75 62 73 | work...|\subsubs|
|000017e0| 65 63 74 69 6f 6e 2a 7b | 45 58 41 4d 50 4c 45 7d |ection*{|EXAMPLE}|
|000017f0| 0a 5c 73 6d 61 6c 6c 0a | 5c 62 65 67 69 6e 7b 76 |.\small.|\begin{v|
|00001800| 65 72 62 61 74 69 6d 7d | 0a 73 65 74 28 77 69 6e |erbatim}|.set(win|
|00001810| 64 6f 77 2c 4d 55 49 41 | 5f 57 69 6e 64 6f 77 5f |dow,MUIA|_Window_|
|00001820| 41 63 74 69 76 65 4f 62 | 6a 65 63 74 2c 6f 6b 61 |ActiveOb|ject,oka|
|00001830| 79 62 75 74 74 6f 6e 29 | 3b 0a 0a 5c 65 6e 64 7b |ybutton)|;..\end{|
|00001840| 76 65 72 62 61 74 69 6d | 7d 0a 5c 6e 6f 72 6d 61 |verbatim|}.\norma|
|00001850| 6c 73 69 7a 65 0a 5c 73 | 75 62 73 75 62 73 65 63 |lsize.\s|ubsubsec|
|00001860| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00001870| 4d 55 49 4d 5c 5f 57 69 | 6e 64 6f 77 5c 5f 53 65 |MUIM\_Wi|ndow\_Se|
|00001880| 74 43 79 63 6c 65 43 68 | 61 69 6e 0a 0a 5c 73 75 |tCycleCh|ain..\su|
|00001890| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 57 |bsection|[MUIA\_W|
|000018a0| 69 6e 64 6f 77 5c 5f 41 | 6c 74 48 65 69 67 68 74 |indow\_A|ltHeight|
|000018b0| 5d 7b 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |]{MUIA\_|Window\_|
|000018c0| 41 6c 74 48 65 69 67 68 | 74 20 2d 2d 20 28 56 34 |AltHeigh|t -- (V4|
|000018d0| 29 20 5b 49 2e 47 5d 2c | 20 4c 4f 4e 47 7d 0a 0a |) [I.G],| LONG}..|
|000018e0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000018f0| 53 50 45 43 49 41 4c 20 | 49 4e 50 55 54 53 7d 0a |SPECIAL |INPUTS}.|
|00001900| 4d 55 49 56 5c 5f 57 69 | 6e 64 6f 77 5c 5f 41 6c |MUIV\_Wi|ndow\_Al|
|00001910| 74 48 65 69 67 68 74 5c | 5f 4d 69 6e 4d 61 78 28 |tHeight\|_MinMax(|
|00001920| 70 29 5c 5c 0a 4d 55 49 | 56 5c 5f 57 69 6e 64 6f |p)\\.MUI|V\_Windo|
|00001930| 77 5c 5f 41 6c 74 48 65 | 69 67 68 74 5c 5f 56 69 |w\_AltHe|ight\_Vi|
|00001940| 73 69 62 6c 65 28 70 29 | 5c 5c 0a 4d 55 49 56 5c |sible(p)|\\.MUIV\|
|00001950| 5f 57 69 6e 64 6f 77 5c | 5f 41 6c 74 48 65 69 67 |_Window\|_AltHeig|
|00001960| 68 74 5c 5f 53 63 72 65 | 65 6e 28 70 29 5c 5c 0a |ht\_Scre|en(p)\\.|
|00001970| 4d 55 49 56 5c 5f 57 69 | 6e 64 6f 77 5c 5f 41 6c |MUIV\_Wi|ndow\_Al|
|00001980| 74 48 65 69 67 68 74 5c | 5f 53 63 61 6c 65 64 5c |tHeight\|_Scaled\|
|00001990| 5c 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |\..\subs|ubsectio|
|000019a0| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 53 70 65 |n*{FUNCT|ION}.Spe|
|000019b0| 63 69 66 79 20 74 68 65 | 20 61 6c 74 65 72 6e 61 |cify the| alterna|
|000019c0| 74 65 20 28 7a 6f 6f 6d | 65 64 29 20 68 65 69 67 |te (zoom|ed) heig|
|000019d0| 68 74 20 6f 66 20 61 20 | 77 69 6e 64 6f 77 2e 0a |ht of a |window..|
|000019e0| 49 66 20 6e 6f 74 20 70 | 72 65 73 65 6e 74 2c 20 |If not p|resent, |
|000019f0| 74 68 65 20 61 6c 74 65 | 72 6e 61 74 65 20 68 65 |the alte|rnate he|
|00001a00| 69 67 68 74 20 77 69 6c | 6c 20 62 65 20 74 68 65 |ight wil|l be the|
|00001a10| 0a 6d 69 6e 69 6d 75 6d | 20 68 65 69 67 68 74 2e |.minimum| height.|
|00001a20| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00001a30| 2a 7b 53 45 45 20 41 4c | 53 4f 7d 0a 4d 55 49 41 |*{SEE AL|SO}.MUIA|
|00001a40| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 48 65 69 67 68 74 |\_Window|\_Height|
|00001a50| 2c 20 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |, MUIA\_|Window\_|
|00001a60| 41 6c 74 57 69 64 74 68 | 0a 0a 5c 73 75 62 73 65 |AltWidth|..\subse|
|00001a70| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 57 69 6e 64 |ction[MU|IA\_Wind|
|00001a80| 6f 77 5c 5f 41 6c 74 4c | 65 66 74 45 64 67 65 5d |ow\_AltL|eftEdge]|
|00001a90| 7b 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 41 |{MUIA\_W|indow\_A|
|00001aa0| 6c 74 4c 65 66 74 45 64 | 67 65 20 2d 2d 20 28 56 |ltLeftEd|ge -- (V|
|00001ab0| 34 29 20 5b 49 2e 47 5d | 2c 20 4c 4f 4e 47 7d 0a |4) [I.G]|, LONG}.|
|00001ac0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00001ad0| 7b 53 50 45 43 49 41 4c | 20 49 4e 50 55 54 53 7d |{SPECIAL| INPUTS}|
|00001ae0| 0a 4d 55 49 56 5c 5f 57 | 69 6e 64 6f 77 5c 5f 41 |.MUIV\_W|indow\_A|
|00001af0| 6c 74 4c 65 66 74 45 64 | 67 65 5c 5f 43 65 6e 74 |ltLeftEd|ge\_Cent|
|00001b00| 65 72 65 64 5c 5c 0a 4d | 55 49 56 5c 5f 57 69 6e |ered\\.M|UIV\_Win|
|00001b10| 64 6f 77 5c 5f 41 6c 74 | 4c 65 66 74 45 64 67 65 |dow\_Alt|LeftEdge|
|00001b20| 5c 5f 4d 6f 75 73 65 64 | 5c 5c 0a 4d 55 49 56 5c |\_Moused|\\.MUIV\|
|00001b30| 5f 57 69 6e 64 6f 77 5c | 5f 41 6c 74 4c 65 66 74 |_Window\|_AltLeft|
|00001b40| 45 64 67 65 5c 5f 4e 6f | 43 68 61 6e 67 65 5c 5c |Edge\_No|Change\\|
|00001b50| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00001b60| 2a 7b 46 55 4e 43 54 49 | 4f 4e 7d 0a 53 70 65 63 |*{FUNCTI|ON}.Spec|
|00001b70| 69 66 79 20 74 68 65 20 | 61 6c 74 65 72 6e 61 74 |ify the |alternat|
|00001b80| 65 20 28 7a 6f 6f 6d 65 | 64 29 20 6c 65 66 74 20 |e (zoome|d) left |
|00001b90| 70 6f 73 69 74 69 6f 6e | 20 6f 66 0a 61 20 77 69 |position| of.a wi|
|00001ba0| 6e 64 6f 77 2e 20 54 68 | 69 73 20 64 65 66 61 75 |ndow. Th|is defau|
|00001bb0| 6c 74 73 20 74 6f 20 74 | 68 65 20 73 74 61 6e 64 |lts to t|he stand|
|00001bc0| 61 72 64 20 6c 65 66 74 | 0a 70 6f 73 69 74 69 6f |ard left|.positio|
|00001bd0| 6e 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |n...\sub|subsecti|
|00001be0| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00001bf0| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 4c 65 66 74 |IA\_Wind|ow\_Left|
|00001c00| 45 64 67 65 2c 20 4d 55 | 49 41 5c 5f 57 69 6e 64 |Edge, MU|IA\_Wind|
|00001c10| 6f 77 5c 5f 41 6c 74 54 | 6f 70 45 64 67 65 0a 0a |ow\_AltT|opEdge..|
|00001c20| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|00001c30| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 41 6c 74 54 6f 70 |\_Window|\_AltTop|
|00001c40| 45 64 67 65 5d 7b 4d 55 | 49 41 5c 5f 57 69 6e 64 |Edge]{MU|IA\_Wind|
|00001c50| 6f 77 5c 5f 41 6c 74 54 | 6f 70 45 64 67 65 20 2d |ow\_AltT|opEdge -|
|00001c60| 2d 20 28 56 34 29 20 5b | 49 2e 47 5d 2c 20 4c 4f |- (V4) [|I.G], LO|
|00001c70| 4e 47 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |NG}..\su|bsubsect|
|00001c80| 69 6f 6e 2a 7b 53 50 45 | 43 49 41 4c 20 49 4e 50 |ion*{SPE|CIAL INP|
|00001c90| 55 54 53 7d 0a 4d 55 49 | 56 5c 5f 57 69 6e 64 6f |UTS}.MUI|V\_Windo|
|00001ca0| 77 5c 5f 41 6c 74 54 6f | 70 45 64 67 65 5c 5f 43 |w\_AltTo|pEdge\_C|
|00001cb0| 65 6e 74 65 72 65 64 5c | 5c 0a 4d 55 49 56 5c 5f |entered\|\.MUIV\_|
|00001cc0| 57 69 6e 64 6f 77 5c 5f | 41 6c 74 54 6f 70 45 64 |Window\_|AltTopEd|
|00001cd0| 67 65 5c 5f 4d 6f 75 73 | 65 64 5c 5c 0a 4d 55 49 |ge\_Mous|ed\\.MUI|
|00001ce0| 56 5c 5f 57 69 6e 64 6f | 77 5c 5f 41 6c 74 54 6f |V\_Windo|w\_AltTo|
|00001cf0| 70 45 64 67 65 5c 5f 44 | 65 6c 74 61 28 70 29 5c |pEdge\_D|elta(p)\|
|00001d00| 5c 0a 4d 55 49 56 5c 5f | 57 69 6e 64 6f 77 5c 5f |\.MUIV\_|Window\_|
|00001d10| 41 6c 74 54 6f 70 45 64 | 67 65 5c 5f 4e 6f 43 68 |AltTopEd|ge\_NoCh|
|00001d20| 61 6e 67 65 5c 5c 0a 0a | 5c 73 75 62 73 75 62 73 |ange\\..|\subsubs|
|00001d30| 65 63 74 69 6f 6e 2a 7b | 46 55 4e 43 54 49 4f 4e |ection*{|FUNCTION|
|00001d40| 7d 0a 53 70 65 63 69 66 | 79 20 74 68 65 20 61 6c |}.Specif|y the al|
|00001d50| 74 65 72 6e 61 74 65 20 | 28 7a 6f 6f 6d 65 64 29 |ternate |(zoomed)|
|00001d60| 20 74 6f 70 20 70 6f 73 | 69 74 69 6f 6e 20 6f 66 | top pos|ition of|
|00001d70| 0a 61 20 77 69 6e 64 6f | 77 2e 20 54 68 69 73 20 |.a windo|w. This |
|00001d80| 64 65 66 61 75 6c 74 73 | 20 74 6f 20 74 68 65 20 |defaults| to the |
|00001d90| 73 74 61 6e 64 61 72 64 | 20 74 6f 70 0a 70 6f 73 |standard| top.pos|
|00001da0| 69 74 69 6f 6e 2e 0a 0a | 5c 73 75 62 73 75 62 73 |ition...|\subsubs|
|00001db0| 65 63 74 69 6f 6e 2a 7b | 53 45 45 20 41 4c 53 4f |ection*{|SEE ALSO|
|00001dc0| 7d 0a 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |}.MUIA\_|Window\_|
|00001dd0| 54 6f 70 45 64 67 65 2c | 20 4d 55 49 41 5c 5f 57 |TopEdge,| MUIA\_W|
|00001de0| 69 6e 64 6f 77 5c 5f 41 | 6c 74 4c 65 66 74 45 64 |indow\_A|ltLeftEd|
|00001df0| 67 65 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 5b |ge..\sub|section[|
|00001e00| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 41 6c |MUIA\_Wi|ndow\_Al|
|00001e10| 74 57 69 64 74 68 5d 7b | 4d 55 49 41 5c 5f 57 69 |tWidth]{|MUIA\_Wi|
|00001e20| 6e 64 6f 77 5c 5f 41 6c | 74 57 69 64 74 68 20 2d |ndow\_Al|tWidth -|
|00001e30| 2d 20 28 56 34 29 20 5b | 49 2e 47 5d 2c 20 4c 4f |- (V4) [|I.G], LO|
|00001e40| 4e 47 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |NG}..\su|bsubsect|
|00001e50| 69 6f 6e 2a 7b 53 50 45 | 43 49 41 4c 20 49 4e 50 |ion*{SPE|CIAL INP|
|00001e60| 55 54 53 7d 0a 4d 55 49 | 56 5c 5f 57 69 6e 64 6f |UTS}.MUI|V\_Windo|
|00001e70| 77 5c 5f 41 6c 74 57 69 | 64 74 68 5c 5f 4d 69 6e |w\_AltWi|dth\_Min|
|00001e80| 4d 61 78 28 70 29 5c 5c | 0a 4d 55 49 56 5c 5f 57 |Max(p)\\|.MUIV\_W|
|00001e90| 69 6e 64 6f 77 5c 5f 41 | 6c 74 57 69 64 74 68 5c |indow\_A|ltWidth\|
|00001ea0| 5f 56 69 73 69 62 6c 65 | 28 70 29 5c 5c 0a 4d 55 |_Visible|(p)\\.MU|
|00001eb0| 49 56 5c 5f 57 69 6e 64 | 6f 77 5c 5f 41 6c 74 57 |IV\_Wind|ow\_AltW|
|00001ec0| 69 64 74 68 5c 5f 53 63 | 72 65 65 6e 28 70 29 5c |idth\_Sc|reen(p)\|
|00001ed0| 5c 0a 4d 55 49 56 5c 5f | 57 69 6e 64 6f 77 5c 5f |\.MUIV\_|Window\_|
|00001ee0| 41 6c 74 57 69 64 74 68 | 5c 5f 53 63 61 6c 65 64 |AltWidth|\_Scaled|
|00001ef0| 5c 5c 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |\\..\sub|subsecti|
|00001f00| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 53 70 |on*{FUNC|TION}.Sp|
|00001f10| 65 63 69 66 79 20 74 68 | 65 20 61 6c 74 65 72 6e |ecify th|e altern|
|00001f20| 61 74 65 20 28 7a 6f 6f | 6d 65 64 29 20 77 69 64 |ate (zoo|med) wid|
|00001f30| 74 68 20 6f 66 20 61 20 | 77 69 6e 64 6f 77 2e 0a |th of a |window..|
|00001f40| 49 66 20 6e 6f 74 20 70 | 72 65 73 65 6e 74 2c 20 |If not p|resent, |
|00001f50| 74 68 65 20 61 6c 74 65 | 72 6e 61 74 65 20 77 69 |the alte|rnate wi|
|00001f60| 64 74 68 20 77 69 6c 6c | 20 62 65 20 74 68 65 0a |dth will| be the.|
|00001f70| 6d 69 6e 69 6d 75 6d 20 | 77 69 64 74 68 2e 0a 0a |minimum |width...|
|00001f80| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00001f90| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 41 5c 5f |SEE ALSO|}.MUIA\_|
|00001fa0| 57 69 6e 64 6f 77 5c 5f | 57 69 64 74 68 2c 20 4d |Window\_|Width, M|
|00001fb0| 55 49 41 5c 5f 57 69 6e | 64 6f 77 5c 5f 41 6c 74 |UIA\_Win|dow\_Alt|
|00001fc0| 48 65 69 67 68 74 0a 0a | 5c 73 75 62 73 65 63 74 |Height..|\subsect|
|00001fd0| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 57 69 6e 64 6f 77 |ion[MUIA|\_Window|
|00001fe0| 5c 5f 41 70 70 57 69 6e | 64 6f 77 5d 7b 4d 55 49 |\_AppWin|dow]{MUI|
|00001ff0| 41 5c 5f 57 69 6e 64 6f | 77 5c 5f 41 70 70 57 69 |A\_Windo|w\_AppWi|
|00002000| 6e 64 6f 77 20 2d 2d 20 | 28 56 35 29 20 5b 49 2e |ndow -- |(V5) [I.|
|00002010| 2e 5d 2c 20 42 4f 4f 4c | 7d 0a 0a 5c 73 75 62 73 |.], BOOL|}..\subs|
|00002020| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|00002030| 49 4f 4e 7d 0a 53 65 74 | 74 69 6e 67 20 74 68 69 |ION}.Set|ting thi|
|00002040| 73 20 61 74 74 72 69 62 | 75 74 65 20 74 6f 20 54 |s attrib|ute to T|
|00002050| 52 55 45 20 77 69 6c 6c | 20 6d 61 6b 65 20 74 68 |RUE will| make th|
|00002060| 69 73 20 77 69 6e 64 6f | 77 20 61 6e 0a 41 70 70 |is windo|w an.App|
|00002070| 57 69 6e 64 6f 77 2c 20 | 74 68 65 20 75 73 65 72 |Window, |the user|
|00002080| 20 77 69 6c 6c 20 62 65 | 20 61 62 6c 65 20 74 6f | will be| able to|
|00002090| 20 64 72 6f 70 20 69 63 | 6f 6e 73 20 6f 6e 20 69 | drop ic|ons on i|
|000020a0| 74 2e 0a 59 6f 75 20 63 | 61 6e 20 68 65 61 72 20 |t..You c|an hear |
|000020b0| 61 62 6f 75 74 20 74 68 | 65 73 65 20 65 76 65 6e |about th|ese even|
|000020c0| 74 73 20 62 79 20 6c 69 | 73 74 65 6e 69 6e 67 20 |ts by li|stening |
|000020d0| 74 6f 20 74 68 65 0a 4d | 55 49 41 5c 5f 41 70 70 |to the.M|UIA\_App|
|000020e0| 4d 65 73 73 61 67 65 20 | 61 74 74 72 69 62 75 74 |Message |attribut|
|000020f0| 65 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |e...\sub|subsecti|
|00002100| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00002110| 49 41 5c 5f 41 70 70 4d | 65 73 73 61 67 65 2c 20 |IA\_AppM|essage, |
|00002120| 4d 55 49 41 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIA\_Ap|plicatio|
|00002130| 6e 5c 5f 44 72 6f 70 4f | 62 6a 65 63 74 0a 0a 5c |n\_DropO|bject..\|
|00002140| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 41 5c |subsecti|on[MUIA\|
|00002150| 5f 57 69 6e 64 6f 77 5c | 5f 42 61 63 6b 64 72 6f |_Window\|_Backdro|
|00002160| 70 5d 7b 4d 55 49 41 5c | 5f 57 69 6e 64 6f 77 5c |p]{MUIA\|_Window\|
|00002170| 5f 42 61 63 6b 64 72 6f | 70 20 2d 2d 20 28 56 34 |_Backdro|p -- (V4|
|00002180| 29 20 5b 49 2e 2e 5d 2c | 20 42 4f 4f 4c 7d 0a 0a |) [I..],| BOOL}..|
|00002190| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000021a0| 46 55 4e 43 54 49 4f 4e | 7d 0a 4d 61 6b 65 20 74 |FUNCTION|}.Make t|
|000021b0| 68 65 20 77 69 6e 64 6f | 77 20 61 20 62 61 63 6b |he windo|w a back|
|000021c0| 64 72 6f 70 20 77 69 6e | 64 6f 77 2e 0a 0a 5c 73 |drop win|dow...\s|
|000021d0| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|000021e0| 57 69 6e 64 6f 77 5c 5f | 42 6f 72 64 65 72 6c 65 |Window\_|Borderle|
|000021f0| 73 73 5d 7b 4d 55 49 41 | 5c 5f 57 69 6e 64 6f 77 |ss]{MUIA|\_Window|
|00002200| 5c 5f 42 6f 72 64 65 72 | 6c 65 73 73 20 2d 2d 20 |\_Border|less -- |
|00002210| 28 56 34 29 20 5b 49 2e | 2e 5d 2c 20 42 4f 4f 4c |(V4) [I.|.], BOOL|
|00002220| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00002230| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 4d 61 6b |n*{FUNCT|ION}.Mak|
|00002240| 65 20 74 68 65 20 77 69 | 6e 64 6f 77 20 62 6f 72 |e the wi|ndow bor|
|00002250| 64 65 72 6c 65 73 73 2e | 0a 0a 5c 73 75 62 73 65 |derless.|..\subse|
|00002260| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 57 69 6e 64 |ction[MU|IA\_Wind|
|00002270| 6f 77 5c 5f 43 6c 6f 73 | 65 47 61 64 67 65 74 5d |ow\_Clos|eGadget]|
|00002280| 7b 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 43 |{MUIA\_W|indow\_C|
|00002290| 6c 6f 73 65 47 61 64 67 | 65 74 20 2d 2d 20 28 56 |loseGadg|et -- (V|
|000022a0| 34 29 20 5b 49 2e 2e 5d | 2c 20 42 4f 4f 4c 7d 0a |4) [I..]|, BOOL}.|
|000022b0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|000022c0| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 53 65 74 20 74 |{FUNCTIO|N}.Set t|
|000022d0| 68 69 73 20 74 6f 20 46 | 41 4c 53 45 20 61 6e 64 |his to F|ALSE and|
|000022e0| 20 79 6f 75 72 20 77 69 | 6e 64 6f 77 20 77 69 6c | your wi|ndow wil|
|000022f0| 6c 20 6e 6f 74 0a 68 61 | 76 65 20 61 20 63 6c 6f |l not.ha|ve a clo|
|00002300| 73 65 20 67 61 64 67 65 | 74 2e 0a 0a 5c 73 75 62 |se gadge|t...\sub|
|00002310| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 57 69 |section[|MUIA\_Wi|
|00002320| 6e 64 6f 77 5c 5f 43 6c | 6f 73 65 52 65 71 75 65 |ndow\_Cl|oseReque|
|00002330| 73 74 5d 7b 4d 55 49 41 | 5c 5f 57 69 6e 64 6f 77 |st]{MUIA|\_Window|
|00002340| 5c 5f 43 6c 6f 73 65 52 | 65 71 75 65 73 74 20 2d |\_CloseR|equest -|
|00002350| 2d 20 28 56 34 29 20 5b | 2e 2e 47 5d 2c 20 42 4f |- (V4) [|..G], BO|
|00002360| 4f 4c 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |OL}..\su|bsubsect|
|00002370| 69 6f 6e 2a 7b 46 55 4e | 43 54 49 4f 4e 7d 0a 57 |ion*{FUN|CTION}.W|
|00002380| 68 65 6e 20 74 68 65 20 | 75 73 65 72 20 68 69 74 |hen the |user hit|
|00002390| 73 20 61 20 77 69 6e 64 | 6f 77 73 20 63 6c 6f 73 |s a wind|ows clos|
|000023a0| 65 20 67 61 64 67 65 74 | 2c 20 74 68 65 0a 77 69 |e gadget|, the.wi|
|000023b0| 6e 64 6f 77 20 69 73 6e | 27 74 20 63 6c 6f 73 65 |ndow isn|'t close|
|000023c0| 64 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 2e 20 49 |d immedi|ately. I|
|000023d0| 6e 73 74 65 61 64 20 4d | 55 49 20 6f 6e 6c 79 0a |nstead M|UI only.|
|000023e0| 73 65 74 73 20 74 68 69 | 73 20 61 74 74 72 69 62 |sets thi|s attrib|
|000023f0| 75 74 65 20 74 6f 20 54 | 52 55 45 20 74 6f 20 61 |ute to T|RUE to a|
|00002400| 6c 6c 6f 77 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |llow you|r applic|
|00002410| 61 74 69 6f 6e 0a 74 6f | 20 72 65 61 63 74 2e 0a |ation.to| react..|
|00002420| 0a 55 73 75 61 6c 6c 79 | 2c 20 79 6f 75 20 77 69 |.Usually|, you wi|
|00002430| 6c 6c 20 73 65 74 75 70 | 20 61 20 6e 6f 74 69 66 |ll setup| a notif|
|00002440| 69 63 61 74 69 6f 6e 20 | 74 68 61 74 20 61 75 74 |ication |that aut|
|00002450| 6f 6d 61 74 69 63 61 6c | 6c 79 0a 63 6c 6f 73 65 |omatical|ly.close|
|00002460| 73 20 74 68 65 20 77 69 | 6e 64 6f 77 20 77 68 65 |s the wi|ndow whe|
|00002470| 6e 20 61 20 63 6c 6f 73 | 65 20 72 65 71 75 65 73 |n a clos|e reques|
|00002480| 74 20 61 70 70 65 61 72 | 73 2c 20 62 75 74 20 79 |t appear|s, but y|
|00002490| 6f 75 0a 63 6f 75 6c 64 | 20 65 2e 67 2e 20 70 6f |ou.could| e.g. po|
|000024a0| 70 20 75 70 20 61 20 63 | 6f 6e 66 69 72 6d 61 74 |p up a c|onfirmat|
|000024b0| 69 6f 6e 20 72 65 71 75 | 65 73 74 65 72 20 6f 72 |ion requ|ester or|
|000024c0| 20 64 6f 20 73 6f 6d 65 | 0a 6f 74 68 65 72 20 74 | do some|.other t|
|000024d0| 68 69 6e 67 73 20 66 69 | 72 73 74 2e 0a 0a 5c 73 |hings fi|rst...\s|
|000024e0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 45 58 |ubsubsec|tion*{EX|
|000024f0| 41 4d 50 4c 45 7d 0a 5c | 73 6d 61 6c 6c 0a 5c 62 |AMPLE}.\|small.\b|
|00002500| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 2f |egin{ver|batim}./|
|00002510| 2a 20 61 75 74 6f 6d 61 | 67 69 63 61 6c 6c 79 20 |* automa|gically |
|00002520| 63 6c 6f 73 65 20 61 20 | 77 69 6e 64 6f 77 20 20 |close a |window |
|00002530| 20 20 20 2a 2f 0a 2f 2a | 20 77 68 65 6e 20 74 68 | */./*| when th|
|00002540| 65 20 63 6c 6f 73 65 20 | 67 61 64 67 65 74 20 69 |e close |gadget i|
|00002550| 73 20 70 72 65 73 73 65 | 64 20 2a 2f 0a 0a 44 6f |s presse|d */..Do|
|00002560| 4d 65 74 68 6f 64 28 77 | 69 6e 64 6f 77 2c 4d 55 |Method(w|indow,MU|
|00002570| 49 4d 5f 4e 6f 74 69 66 | 79 2c 0a 20 20 20 4d 55 |IM_Notif|y,. MU|
|00002580| 49 41 5f 57 69 6e 64 6f | 77 5f 43 6c 6f 73 65 52 |IA_Windo|w_CloseR|
|00002590| 65 71 75 65 73 74 2c 20 | 54 52 55 45 2c 0a 20 20 |equest, |TRUE,. |
|000025a0| 20 77 69 6e 64 6f 77 2c | 33 2c 4d 55 49 4d 5f 53 | window,|3,MUIM_S|
|000025b0| 65 74 2c 4d 55 49 41 5f | 57 69 6e 64 6f 77 5f 4f |et,MUIA_|Window_O|
|000025c0| 70 65 6e 2c 30 29 3b 0a | 0a 5c 65 6e 64 7b 76 65 |pen,0);.|.\end{ve|
|000025d0| 72 62 61 74 69 6d 7d 0a | 5c 6e 6f 72 6d 61 6c 73 |rbatim}.|\normals|
|000025e0| 69 7a 65 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |ize.\sub|subsecti|
|000025f0| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00002600| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 4f 70 65 6e |IA\_Wind|ow\_Open|
|00002610| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00002620| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 44 65 66 61 |IA\_Wind|ow\_Defa|
|00002630| 75 6c 74 4f 62 6a 65 63 | 74 5d 7b 4d 55 49 41 5c |ultObjec|t]{MUIA\|
|00002640| 5f 57 69 6e 64 6f 77 5c | 5f 44 65 66 61 75 6c 74 |_Window\|_Default|
|00002650| 4f 62 6a 65 63 74 20 2d | 2d 20 28 56 34 29 20 5b |Object -|- (V4) [|
|00002660| 49 53 47 5d 2c 20 4f 62 | 6a 65 63 74 20 24 5c 61 |ISG], Ob|ject $\a|
|00002670| 73 74 24 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |st$}..\s|ubsubsec|
|00002680| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|00002690| 54 68 65 20 64 65 66 61 | 75 6c 74 20 6f 62 6a 65 |The defa|ult obje|
|000026a0| 63 74 20 69 6e 20 61 20 | 77 69 6e 64 6f 77 20 72 |ct in a |window r|
|000026b0| 65 63 65 69 76 65 73 20 | 6b 65 79 62 6f 61 72 64 |eceives |keyboard|
|000026c0| 20 69 6e 70 75 74 0a 61 | 73 20 6c 6f 6e 67 20 61 | input.a|s long a|
|000026d0| 73 20 6e 6f 20 6f 74 68 | 65 72 20 6f 62 6a 65 63 |s no oth|er objec|
|000026e0| 74 20 69 73 20 61 63 74 | 69 76 65 2e 20 47 6f 6f |t is act|ive. Goo|
|000026f0| 64 20 63 61 6e 64 69 64 | 61 74 65 73 0a 66 6f 72 |d candid|ates.for|
|00002700| 20 64 65 66 61 75 6c 74 | 20 6f 62 6a 65 63 74 73 | default| objects|
|00002710| 20 61 72 65 20 65 2e 67 | 2e 20 6c 6f 6e 65 6c 79 | are e.g|. lonely|
|00002720| 20 6c 69 73 74 76 69 65 | 77 73 2e 20 4d 61 6b 69 | listvie|ws. Maki|
|00002730| 6e 67 0a 73 75 63 68 20 | 61 20 6c 69 73 74 76 69 |ng.such |a listvi|
|00002740| 65 77 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 6f |ew the d|efault o|
|00002750| 62 6a 65 63 74 20 77 69 | 6c 6c 20 61 6c 6c 6f 77 |bject wi|ll allow|
|00002760| 20 74 68 65 20 75 73 65 | 72 0a 74 6f 20 63 6f 6e | the use|r.to con|
|00002770| 74 72 6f 6c 20 69 74 20 | 69 6d 6d 65 64 69 61 74 |trol it |immediat|
|00002780| 65 6c 79 20 77 69 74 68 | 6f 75 74 20 74 68 65 20 |ely with|out the |
|00002790| 6e 65 65 64 20 6f 66 20 | 73 65 76 65 72 61 6c 0a |need of |several.|
|000027a0| 74 61 62 20 73 74 72 6f | 6b 65 73 20 66 6f 72 20 |tab stro|kes for |
|000027b0| 61 63 74 69 76 61 74 69 | 6f 6e 2e 0a 0a 5c 73 75 |activati|on...\su|
|000027c0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 45 45 |bsubsect|ion*{SEE|
|000027d0| 20 41 4c 53 4f 7d 0a 4d | 55 49 41 5c 5f 57 69 6e | ALSO}.M|UIA\_Win|
|000027e0| 64 6f 77 5c 5f 41 63 74 | 69 76 65 4f 62 6a 65 63 |dow\_Act|iveObjec|
|000027f0| 74 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |t..\subs|ection[M|
|00002800| 55 49 41 5c 5f 57 69 6e | 64 6f 77 5c 5f 44 65 70 |UIA\_Win|dow\_Dep|
|00002810| 74 68 47 61 64 67 65 74 | 5d 7b 4d 55 49 41 5c 5f |thGadget|]{MUIA\_|
|00002820| 57 69 6e 64 6f 77 5c 5f | 44 65 70 74 68 47 61 64 |Window\_|DepthGad|
|00002830| 67 65 74 20 2d 2d 20 28 | 56 34 29 20 5b 49 2e 2e |get -- (|V4) [I..|
|00002840| 5d 2c 20 42 4f 4f 4c 7d | 0a 0a 5c 73 75 62 73 75 |], BOOL}|..\subsu|
|00002850| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|00002860| 4f 4e 7d 0a 45 6e 61 62 | 6c 65 20 6f 72 20 64 69 |ON}.Enab|le or di|
|00002870| 73 61 62 6c 65 20 74 68 | 65 20 64 65 70 74 68 20 |sable th|e depth |
|00002880| 67 61 64 67 65 74 2e 20 | 44 65 66 61 75 6c 74 73 |gadget. |Defaults|
|00002890| 20 74 6f 20 54 52 55 45 | 2e 0a 54 68 65 72 65 20 | to TRUE|..There |
|000028a0| 69 73 20 6e 6f 20 67 6f | 6f 64 20 72 65 61 73 6f |is no go|od reaso|
|000028b0| 6e 20 74 6f 20 75 73 65 | 20 74 68 69 73 20 74 61 |n to use| this ta|
|000028c0| 67 2e 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 5b |g...\sub|section[|
|000028d0| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 44 72 |MUIA\_Wi|ndow\_Dr|
|000028e0| 61 67 42 61 72 5d 7b 4d | 55 49 41 5c 5f 57 69 6e |agBar]{M|UIA\_Win|
|000028f0| 64 6f 77 5c 5f 44 72 61 | 67 42 61 72 20 2d 2d 20 |dow\_Dra|gBar -- |
|00002900| 28 56 34 29 20 5b 49 2e | 2e 5d 2c 20 42 4f 4f 4c |(V4) [I.|.], BOOL|
|00002910| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00002920| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 54 65 6c |n*{FUNCT|ION}.Tel|
|00002930| 6c 20 4d 55 49 20 74 6f | 20 67 69 76 65 20 79 6f |l MUI to| give yo|
|00002940| 75 72 20 77 69 6e 64 6f | 77 20 61 20 64 72 61 67 |ur windo|w a drag|
|00002950| 62 61 72 2e 0a 0a 44 65 | 66 61 75 6c 74 73 20 74 |bar...De|faults t|
|00002960| 6f 20 54 52 55 45 2e 0a | 0a 54 68 65 72 65 20 69 |o TRUE..|.There i|
|00002970| 73 20 6e 6f 20 67 6f 6f | 64 20 72 65 61 73 6f 6e |s no goo|d reason|
|00002980| 20 74 6f 20 64 69 73 61 | 62 6c 65 20 74 68 65 20 | to disa|ble the |
|00002990| 64 72 61 67 62 61 72 21 | 0a 0a 5c 73 75 62 73 65 |dragbar!|..\subse|
|000029a0| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 57 69 6e 64 |ction[MU|IA\_Wind|
|000029b0| 6f 77 5c 5f 46 61 6e 63 | 79 44 72 61 77 69 6e 67 |ow\_Fanc|yDrawing|
|000029c0| 5d 7b 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |]{MUIA\_|Window\_|
|000029d0| 46 61 6e 63 79 44 72 61 | 77 69 6e 67 20 2d 2d 20 |FancyDra|wing -- |
|000029e0| 28 56 38 29 20 5b 49 53 | 47 5d 2c 20 42 4f 4f 4c |(V8) [IS|G], BOOL|
|000029f0| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00002a00| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 55 73 75 |n*{FUNCT|ION}.Usu|
|00002a10| 61 6c 6c 79 2c 20 74 68 | 65 20 6f 6e 6c 79 20 70 |ally, th|e only p|
|00002a20| 6f 73 73 69 62 6c 65 20 | 70 6c 61 63 65 20 74 6f |ossible |place to|
|00002a30| 20 64 6f 20 73 6f 6d 65 | 20 72 65 6e 64 65 72 69 | do some| renderi|
|00002a40| 6e 67 20 69 73 0a 64 75 | 72 69 6e 67 20 61 20 4d |ng is.du|ring a M|
|00002a50| 55 49 4d 5c 5f 44 72 61 | 77 20 6d 65 74 68 6f 64 |UIM\_Dra|w method|
|00002a60| 2e 20 48 6f 77 65 76 65 | 72 2c 20 69 66 20 79 6f |. Howeve|r, if yo|
|00002a70| 75 20 68 61 76 65 20 61 | 20 63 6c 61 73 73 0a 74 |u have a| class.t|
|00002a80| 68 61 74 20 72 65 61 6c | 6c 79 20 72 65 71 75 69 |hat real|ly requi|
|00002a90| 72 65 73 20 76 65 72 79 | 20 68 69 67 68 20 67 72 |res very| high gr|
|00002aa0| 61 70 68 69 63 61 6c 20 | 6f 75 74 70 75 74 20 73 |aphical |output s|
|00002ab0| 70 65 65 64 0a 28 65 2e | 67 2e 20 61 20 6d 6f 64 |peed.(e.|g. a mod|
|00002ac0| 75 6c 65 20 70 6c 61 79 | 65 72 73 20 73 63 6f 70 |ule play|ers scop|
|00002ad0| 65 20 6f 72 20 61 20 67 | 61 6d 65 20 63 6c 61 73 |e or a g|ame clas|
|00002ae0| 73 29 2c 20 79 6f 75 20 | 63 61 6e 0a 73 65 74 20 |s), you |can.set |
|00002af0| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 46 61 |MUIA\_Wi|ndow\_Fa|
|00002b00| 6e 63 79 44 72 61 77 69 | 6e 67 20 74 6f 20 54 52 |ncyDrawi|ng to TR|
|00002b10| 55 45 2e 0a 0a 54 68 69 | 73 20 61 6c 6c 6f 77 73 |UE...Thi|s allows|
|00002b20| 20 79 6f 75 72 20 63 6c | 61 73 73 20 74 6f 20 72 | your cl|ass to r|
|00002b30| 65 6e 64 65 72 20 61 6e | 79 77 68 65 72 65 20 62 |ender an|ywhere b|
|00002b40| 65 74 77 65 65 6e 0a 4d | 55 49 4d 5c 5f 53 68 6f |etween.M|UIM\_Sho|
|00002b50| 77 20 61 6e 64 20 4d 55 | 49 4d 5c 5f 48 69 64 65 |w and MU|IM\_Hide|
|00002b60| 2c 20 65 2e 67 2e 20 64 | 69 72 65 63 74 6c 79 20 |, e.g. d|irectly |
|00002b70| 61 66 74 65 72 20 61 6e | 0a 61 74 74 72 69 62 75 |after an|.attribu|
|00002b80| 74 65 20 63 68 61 6e 67 | 65 20 77 69 74 68 20 4f |te chang|e with O|
|00002b90| 4d 5c 5f 53 45 54 20 6f | 72 20 66 72 6f 6d 20 61 |M\_SET o|r from a|
|00002ba0| 20 73 65 70 65 72 61 74 | 65 0a 74 61 73 6b 2e 0a | seperat|e.task..|
|00002bb0| 0a 4e 6f 74 65 20 74 68 | 61 74 20 79 6f 75 72 20 |.Note th|at your |
|00002bc0| 72 61 73 74 70 6f 72 74 | 20 65 74 63 2e 20 69 73 |rastport| etc. is|
|00002bd0| 20 6f 6e 6c 79 20 76 61 | 6c 69 64 20 62 65 74 77 | only va|lid betw|
|00002be0| 65 65 6e 0a 4d 55 49 4d | 5c 5f 53 68 6f 77 20 61 |een.MUIM|\_Show a|
|00002bf0| 6e 64 20 4d 55 49 4d 5c | 5f 48 69 64 65 2e 20 4b |nd MUIM\|_Hide. K|
|00002c00| 65 65 70 20 74 68 61 74 | 20 69 6e 20 6d 69 6e 64 |eep that| in mind|
|00002c10| 21 0a 0a 57 68 65 6e 20 | 64 72 61 77 69 6e 67 20 |!..When |drawing |
|00002c20| 66 72 6f 6d 20 61 20 73 | 65 70 65 72 61 74 65 20 |from a s|eperate |
|00002c30| 74 61 73 6b 2c 20 79 6f | 75 20 68 61 76 65 20 74 |task, yo|u have t|
|00002c40| 6f 20 63 6c 6f 6e 65 0a | 74 68 65 20 52 61 73 74 |o clone.|the Rast|
|00002c50| 50 6f 72 74 20 61 6e 64 | 20 75 73 65 20 74 68 65 |Port and| use the|
|00002c60| 20 63 6f 70 79 20 66 6f | 72 20 79 6f 75 72 20 72 | copy fo|r your r|
|00002c70| 65 6e 64 65 72 69 6e 67 | 21 0a 0a 5c 73 75 62 73 |endering|!..\subs|
|00002c80| 75 62 73 65 63 74 69 6f | 6e 2a 7b 4e 4f 54 45 7d |ubsectio|n*{NOTE}|
|00002c90| 0a 50 6c 65 61 73 65 20 | 75 73 65 20 74 68 69 73 |.Please |use this|
|00002ca0| 20 61 74 74 72 69 62 75 | 74 65 20 73 70 61 72 69 | attribu|te spari|
|00002cb0| 6e 67 6c 79 2e 20 49 74 | 20 6d 69 67 68 74 20 70 |ngly. It| might p|
|00002cc0| 72 65 76 65 6e 74 0a 4d | 55 49 20 66 72 6f 6d 20 |revent.M|UI from |
|00002cd0| 64 6f 69 6e 67 20 6e 69 | 63 65 20 74 68 69 6e 67 |doing ni|ce thing|
|00002ce0| 73 20 77 69 74 68 20 79 | 6f 75 72 20 77 69 6e 64 |s with y|our wind|
|00002cf0| 6f 77 2c 20 65 2e 67 2e | 0a 62 75 69 6c 64 69 6e |ow, e.g.|.buildin|
|00002d00| 67 20 61 6e 20 61 75 74 | 6f 6d 61 74 69 63 20 76 |g an aut|omatic v|
|00002d10| 69 72 74 75 61 6c 20 67 | 72 6f 75 70 20 77 68 65 |irtual g|roup whe|
|00002d20| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 0a 69 73 20 |n the sc|reen.is |
|00002d30| 74 6f 6f 20 73 6d 61 6c | 6c 2e 0a 0a 4d 55 49 41 |too smal|l...MUIA|
|00002d40| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 46 61 6e 63 79 44 |\_Window|\_FancyD|
|00002d50| 72 61 77 69 6e 67 20 69 | 73 20 72 65 61 6c 6c 79 |rawing i|s really|
|00002d60| 20 6f 6e 6c 79 20 6e 65 | 63 65 73 73 61 72 79 20 | only ne|cessary |
|00002d70| 66 6f 72 0a 76 65 72 79 | 20 66 65 77 20 74 79 70 |for.very| few typ|
|00002d80| 65 73 20 6f 66 20 61 70 | 70 6c 69 63 61 74 69 6f |es of ap|plicatio|
|00002d90| 6e 73 2e 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 75 |ns. You |should u|
|00002da0| 73 65 20 74 68 65 0a 74 | 72 61 64 69 74 69 6f 6e |se the.t|radition|
|00002db0| 61 6c 20 77 61 79 20 28 | 4d 55 49 4d 5c 5f 44 72 |al way (|MUIM\_Dr|
|00002dc0| 61 77 20 61 6e 64 20 4d | 55 49 5c 5f 52 65 64 72 |aw and M|UI\_Redr|
|00002dd0| 61 77 28 29 29 20 77 68 | 65 6e 65 76 65 72 0a 61 |aw()) wh|enever.a|
|00002de0| 6e 64 20 77 68 65 72 65 | 76 65 72 20 70 6f 73 73 |nd where|ver poss|
|00002df0| 69 62 6c 65 21 0a 0a 5c | 73 75 62 73 65 63 74 69 |ible!..\|subsecti|
|00002e00| 6f 6e 5b 4d 55 49 41 5c | 5f 57 69 6e 64 6f 77 5c |on[MUIA\|_Window\|
|00002e10| 5f 48 65 69 67 68 74 5d | 7b 4d 55 49 41 5c 5f 57 |_Height]|{MUIA\_W|
|00002e20| 69 6e 64 6f 77 5c 5f 48 | 65 69 67 68 74 20 2d 2d |indow\_H|eight --|
|00002e30| 20 28 56 34 29 20 5b 49 | 2e 47 5d 2c 20 4c 4f 4e | (V4) [I|.G], LON|
|00002e40| 47 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |G}..\sub|subsecti|
|00002e50| 6f 6e 2a 7b 53 50 45 43 | 49 41 4c 20 49 4e 50 55 |on*{SPEC|IAL INPU|
|00002e60| 54 53 7d 0a 4d 55 49 56 | 5c 5f 57 69 6e 64 6f 77 |TS}.MUIV|\_Window|
|00002e70| 5c 5f 48 65 69 67 68 74 | 5c 5f 4d 69 6e 4d 61 78 |\_Height|\_MinMax|
|00002e80| 28 70 29 5c 5c 0a 4d 55 | 49 56 5c 5f 57 69 6e 64 |(p)\\.MU|IV\_Wind|
|00002e90| 6f 77 5c 5f 48 65 69 67 | 68 74 5c 5f 56 69 73 69 |ow\_Heig|ht\_Visi|
|00002ea0| 62 6c 65 28 70 29 5c 5c | 0a 4d 55 49 56 5c 5f 57 |ble(p)\\|.MUIV\_W|
|00002eb0| 69 6e 64 6f 77 5c 5f 48 | 65 69 67 68 74 5c 5f 53 |indow\_H|eight\_S|
|00002ec0| 63 72 65 65 6e 28 70 29 | 5c 5c 0a 4d 55 49 56 5c |creen(p)|\\.MUIV\|
|00002ed0| 5f 57 69 6e 64 6f 77 5c | 5f 48 65 69 67 68 74 5c |_Window\|_Height\|
|00002ee0| 5f 53 63 61 6c 65 64 5c | 5c 0a 4d 55 49 56 5c 5f |_Scaled\|\.MUIV\_|
|00002ef0| 57 69 6e 64 6f 77 5c 5f | 48 65 69 67 68 74 5c 5f |Window\_|Height\_|
|00002f00| 44 65 66 61 75 6c 74 5c | 5c 0a 0a 5c 73 75 62 73 |Default\|\..\subs|
|00002f10| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|00002f20| 49 4f 4e 7d 0a 53 70 65 | 63 69 66 79 20 74 68 65 |ION}.Spe|cify the|
|00002f30| 20 68 65 69 67 68 74 20 | 6f 66 20 61 20 77 69 6e | height |of a win|
|00002f40| 64 6f 77 2e 20 55 73 75 | 61 6c 6c 79 2c 20 79 6f |dow. Usu|ally, yo|
|00002f50| 75 20 77 6f 6e 27 74 20 | 67 69 76 65 0a 61 20 70 |u won't |give.a p|
|00002f60| 69 78 65 6c 20 76 61 6c | 75 65 20 68 65 72 65 20 |ixel val|ue here |
|00002f70| 62 75 74 20 69 6e 73 74 | 65 61 64 20 75 73 65 20 |but inst|ead use |
|00002f80| 6f 6e 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |one of t|he follo|
|00002f90| 77 69 6e 67 0a 6d 61 67 | 69 63 20 6d 61 63 72 6f |wing.mag|ic macro|
|00002fa0| 73 3a 0a 0a 5c 62 65 67 | 69 6e 7b 64 65 73 63 72 |s:..\beg|in{descr|
|00002fb0| 69 70 74 69 6f 6e 7d 0a | 5c 69 74 65 6d 5b 4d 55 |iption}.|\item[MU|
|00002fc0| 49 56 5c 5f 57 69 6e 64 | 6f 77 5c 5f 48 65 69 67 |IV\_Wind|ow\_Heig|
|00002fd0| 68 74 5c 5f 44 65 66 61 | 75 6c 74 3a 5d 0a 63 61 |ht\_Defa|ult:].ca|
|00002fe0| 6c 63 75 6c 61 74 65 64 | 20 66 72 6f 6d 20 6f 62 |lculated| from ob|
|00002ff0| 6a 65 63 74 73 20 64 65 | 66 61 75 6c 74 20 73 69 |jects de|fault si|
|00003000| 7a 65 73 2e 0a 0a 5c 69 | 74 65 6d 5b 4d 55 49 56 |zes...\i|tem[MUIV|
|00003010| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 48 65 69 67 68 74 |\_Window|\_Height|
|00003020| 5c 5f 4d 69 6e 4d 61 78 | 28 30 2e 2e 31 30 30 29 |\_MinMax|(0..100)|
|00003030| 3a 5d 0a 73 6f 6d 65 77 | 68 65 72 65 20 62 65 74 |:].somew|here bet|
|00003040| 77 65 65 6e 20 74 68 65 | 20 6d 69 6e 69 6d 75 6d |ween the| minimum|
|00003050| 20 68 65 69 67 68 74 20 | 28 30 29 20 61 6e 64 20 | height |(0) and |
|00003060| 74 68 65 0a 6d 61 78 69 | 6d 75 6d 20 68 65 69 67 |the.maxi|mum heig|
|00003070| 68 74 20 28 31 30 30 29 | 20 6f 66 20 79 6f 75 72 |ht (100)| of your|
|00003080| 20 77 69 6e 64 6f 77 2e | 0a 0a 5c 69 74 65 6d 5b | window.|..\item[|
|00003090| 4d 55 49 56 5c 5f 57 69 | 6e 64 6f 77 5c 5f 48 65 |MUIV\_Wi|ndow\_He|
|000030a0| 69 67 68 74 5c 5f 56 69 | 73 69 62 6c 65 28 31 2e |ight\_Vi|sible(1.|
|000030b0| 2e 31 30 30 29 3a 5d 0a | 70 65 72 63 65 6e 74 61 |.100):].|percenta|
|000030c0| 67 65 20 6f 66 20 74 68 | 65 20 73 63 72 65 65 6e |ge of th|e screen|
|000030d0| 73 20 76 69 73 69 62 6c | 65 20 68 65 69 67 68 74 |s visibl|e height|
|000030e0| 2e 0a 0a 5c 69 74 65 6d | 5b 4d 55 49 56 5c 5f 57 |...\item|[MUIV\_W|
|000030f0| 69 6e 64 6f 77 5c 5f 48 | 65 69 67 68 74 5c 5f 53 |indow\_H|eight\_S|
|00003100| 63 72 65 65 6e 28 31 2e | 2e 31 30 30 29 3a 5d 0a |creen(1.|.100):].|
|00003110| 70 65 72 63 65 6e 74 61 | 67 65 20 6f 66 20 74 68 |percenta|ge of th|
|00003120| 65 20 73 63 72 65 65 6e | 73 20 74 6f 74 61 6c 20 |e screen|s total |
|00003130| 68 65 69 67 68 74 2e 0a | 0a 5c 69 74 65 6d 5b 4d |height..|.\item[M|
|00003140| 55 49 56 5c 5f 57 69 6e | 64 6f 77 5c 5f 48 65 69 |UIV\_Win|dow\_Hei|
|00003150| 67 68 74 5c 5f 53 63 61 | 6c 65 64 3a 5d 0a 68 65 |ght\_Sca|led:].he|
|00003160| 69 67 68 74 20 77 69 6c | 6c 20 62 65 20 61 64 6a |ight wil|l be adj|
|00003170| 75 73 74 65 64 20 73 6f | 20 74 68 61 74 0a 77 69 |usted so| that.wi|
|00003180| 64 74 68 20 3a 20 68 65 | 69 67 68 74 20 3d 3d 20 |dth : he|ight == |
|00003190| 6d 69 6e 69 6d 75 6d 20 | 77 69 64 74 68 20 3a 20 |minimum |width : |
|000031a0| 6d 69 6e 69 6d 75 6d 20 | 68 65 69 67 68 74 2e 0a |minimum |height..|
|000031b0| 4e 6f 74 65 20 74 68 61 | 74 20 61 20 77 69 6e 64 |Note tha|t a wind|
|000031c0| 6f 77 73 20 77 69 64 74 | 68 20 61 6e 64 20 68 65 |ows widt|h and he|
|000031d0| 69 67 68 74 20 6d 61 79 | 20 6e 6f 74 0a 62 6f 74 |ight may| not.bot|
|000031e0| 68 20 62 65 20 73 63 61 | 6c 65 64 2e 0a 5c 65 6e |h be sca|led..\en|
|000031f0| 64 7b 64 65 73 63 72 69 | 70 74 69 6f 6e 7d 0a 0a |d{descri|ption}..|
|00003200| 44 65 66 61 75 6c 74 20 | 66 6f 72 20 74 68 69 73 |Default |for this|
|00003210| 20 74 61 67 20 69 73 20 | 4d 55 49 56 5c 5f 57 69 | tag is |MUIV\_Wi|
|00003220| 6e 64 6f 77 5c 5f 48 65 | 69 67 68 74 5c 5f 44 65 |ndow\_He|ight\_De|
|00003230| 66 61 75 6c 74 2e 0a 0a | 41 73 20 6c 6f 6e 67 20 |fault...|As long |
|00003240| 61 73 20 79 6f 75 72 20 | 77 69 6e 64 6f 77 20 68 |as your |window h|
|00003250| 61 73 20 61 20 77 69 6e | 64 6f 77 20 69 64 20 28 |as a win|dow id (|
|00003260| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 49 44 |MUIA\_Wi|ndow\_ID|
|00003270| 29 2c 0a 63 68 6f 6f 73 | 69 6e 67 20 61 20 73 69 |),.choos|ing a si|
|00003280| 7a 65 20 69 73 20 6e 6f | 74 20 74 68 61 74 20 69 |ze is no|t that i|
|00003290| 6d 70 6f 72 74 61 6e 74 | 2e 20 4d 55 49 20 77 69 |mportant|. MUI wi|
|000032a0| 6c 6c 20 61 6c 77 61 79 | 73 0a 72 65 6d 65 6d 62 |ll alway|s.rememb|
|000032b0| 65 72 20 61 20 77 69 6e | 64 6f 77 73 20 6c 61 73 |er a win|dows las|
|000032c0| 74 20 70 6f 73 69 74 69 | 6f 6e 20 61 6e 64 20 73 |t positi|on and s|
|000032d0| 69 7a 65 20 61 6e 64 20 | 74 68 65 73 65 0a 76 61 |ize and |these.va|
|000032e0| 6c 75 65 73 20 77 69 6c | 6c 20 73 69 6d 70 6c 79 |lues wil|l simply|
|000032f0| 20 6f 76 65 72 72 69 64 | 65 20 79 6f 75 72 20 73 | overrid|e your s|
|00003300| 65 74 74 69 6e 67 73 2e | 20 50 6f 73 69 74 69 6f |ettings.| Positio|
|00003310| 6e 69 6e 67 0a 61 6e 64 | 20 73 69 7a 69 6e 67 20 |ning.and| sizing |
|00003320| 73 68 6f 75 6c 64 20 62 | 65 20 63 6f 6d 70 6c 65 |should b|e comple|
|00003330| 74 65 6c 79 20 75 6e 64 | 65 72 20 75 73 65 72 20 |tely und|er user |
|00003340| 63 6f 6e 74 72 6f 6c 2c | 0a 61 20 70 72 6f 67 72 |control,|.a progr|
|00003350| 61 6d 6d 65 72 20 64 6f | 65 73 6e 27 74 20 6e 65 |ammer do|esn't ne|
|00003360| 65 64 20 74 6f 20 77 6f | 72 72 79 20 61 62 6f 75 |ed to wo|rry abou|
|00003370| 74 20 69 74 2e 0a 0a 5c | 73 75 62 73 75 62 73 65 |t it...\|subsubse|
|00003380| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|00003390| 0a 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 57 |.MUIA\_W|indow\_W|
|000033a0| 69 64 74 68 2c 20 4d 55 | 49 41 5c 5f 57 69 6e 64 |idth, MU|IA\_Wind|
|000033b0| 6f 77 5c 5f 49 44 0a 0a | 5c 73 75 62 73 65 63 74 |ow\_ID..|\subsect|
|000033c0| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 57 69 6e 64 6f 77 |ion[MUIA|\_Window|
|000033d0| 5c 5f 49 44 5d 7b 4d 55 | 49 41 5c 5f 57 69 6e 64 |\_ID]{MU|IA\_Wind|
|000033e0| 6f 77 5c 5f 49 44 20 2d | 2d 20 28 56 34 29 20 5b |ow\_ID -|- (V4) [|
|000033f0| 49 53 47 5d 2c 20 55 4c | 4f 4e 47 7d 0a 0a 5c 73 |ISG], UL|ONG}..\s|
|00003400| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|00003410| 4e 43 54 49 4f 4e 7d 0a | 46 6f 72 20 6d 6f 73 74 |NCTION}.|For most|
|00003420| 20 6f 66 20 79 6f 75 72 | 20 77 69 6e 64 6f 77 73 | of your| windows|
|00003430| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 64 65 66 |, you sh|ould def|
|00003440| 69 6e 65 20 61 20 6c 6f | 6e 67 77 6f 72 64 0a 61 |ine a lo|ngword.a|
|00003450| 73 20 69 64 20 76 61 6c | 75 65 2e 20 4f 6e 6c 79 |s id val|ue. Only|
|00003460| 20 61 20 77 69 6e 64 6f | 77 20 77 69 74 68 20 61 | a windo|w with a|
|00003470| 6e 20 69 64 20 69 73 20 | 61 62 6c 65 20 74 6f 0a |n id is |able to.|
|00003480| 72 65 6d 65 6d 62 65 72 | 20 69 74 73 20 73 69 7a |remember| its siz|
|00003490| 65 20 61 6e 64 20 70 6f | 73 69 74 69 6f 6e 2e 0a |e and po|sition..|
|000034a0| 0a 41 64 64 69 74 69 6f | 6e 61 6c 6c 79 2c 20 77 |.Additio|nally, w|
|000034b0| 68 65 6e 20 79 6f 75 20 | 75 73 65 20 61 6e 20 61 |hen you |use an a|
|000034c0| 73 63 69 69 20 69 64 20 | 28 65 2e 67 2e 20 27 4d |scii id |(e.g. 'M|
|000034d0| 41 49 4e 27 29 2c 0a 79 | 6f 75 72 20 77 69 6e 64 |AIN'),.y|our wind|
|000034e0| 6f 77 20 63 61 6e 20 62 | 65 20 63 6f 6e 74 72 6f |ow can b|e contro|
|000034f0| 6c 6c 65 64 20 66 72 6f | 6d 20 41 52 65 78 78 2e |lled fro|m ARexx.|
|00003500| 0a 0a 4f 66 20 63 6f 75 | 72 73 65 20 61 6c 6c 20 |..Of cou|rse all |
|00003510| 77 69 6e 64 6f 77 73 20 | 6f 66 20 79 6f 75 72 20 |windows |of your |
|00003520| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 6d 75 73 74 |applicat|ion must|
|00003530| 20 68 61 76 65 0a 75 6e | 69 71 75 65 20 69 64 73 | have.un|ique ids|
|00003540| 2e 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|00003550| 6e 2a 7b 53 45 45 20 41 | 4c 53 4f 7d 0a 4d 55 49 |n*{SEE A|LSO}.MUI|
|00003560| 41 5c 5f 57 69 6e 64 6f | 77 5c 5f 4c 65 66 74 45 |A\_Windo|w\_LeftE|
|00003570| 64 67 65 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |dge..\su|bsection|
|00003580| 5b 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 49 |[MUIA\_W|indow\_I|
|00003590| 6e 70 75 74 45 76 65 6e | 74 5d 7b 4d 55 49 41 5c |nputEven|t]{MUIA\|
|000035a0| 5f 57 69 6e 64 6f 77 5c | 5f 49 6e 70 75 74 45 76 |_Window\|_InputEv|
|000035b0| 65 6e 74 20 2d 2d 20 28 | 56 34 29 20 5b 2e 2e 47 |ent -- (|V4) [..G|
|000035c0| 5d 2c 20 73 74 72 75 63 | 74 20 49 6e 70 75 74 45 |], struc|t InputE|
|000035d0| 76 65 6e 74 20 24 5c 61 | 73 74 24 7d 0a 0a 5c 73 |vent $\a|st$}..\s|
|000035e0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|000035f0| 4e 43 54 49 4f 4e 7d 0a | 54 68 69 73 20 61 74 74 |NCTION}.|This att|
|00003600| 72 69 62 75 74 65 20 67 | 65 74 73 20 73 65 74 20 |ribute g|ets set |
|00003610| 77 68 65 6e 65 76 65 72 | 20 79 6f 75 72 20 77 69 |whenever| your wi|
|00003620| 6e 64 6f 77 20 72 65 63 | 65 69 76 65 73 0a 61 20 |ndow rec|eives.a |
|00003630| 72 61 77 6b 65 79 20 69 | 6e 70 75 74 20 65 76 65 |rawkey i|nput eve|
|00003640| 6e 74 2e 20 59 6f 75 20 | 63 61 6e 20 72 65 61 63 |nt. You |can reac|
|00003650| 74 20 6f 6e 20 74 68 69 | 73 20 62 79 20 63 72 65 |t on thi|s by cre|
|00003660| 61 74 69 6e 67 0a 61 20 | 6e 6f 74 69 66 69 63 61 |ating.a |notifica|
|00003670| 74 69 6f 6e 20 65 76 65 | 6e 74 20 63 6f 6e 74 61 |tion eve|nt conta|
|00003680| 69 6e 69 6e 67 20 61 20 | 73 74 61 6e 64 61 72 64 |ining a |standard|
|00003690| 0a 63 6f 6d 6d 6f 64 69 | 74 69 65 73 2e 6c 69 62 |.commodi|ties.lib|
|000036a0| 72 61 72 79 20 69 6e 70 | 75 74 20 64 65 73 63 72 |rary inp|ut descr|
|000036b0| 69 70 74 69 6f 6e 20 73 | 74 72 69 6e 67 2e 0a 0a |iption s|tring...|
|000036c0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000036d0| 45 58 41 4d 50 4c 45 7d | 0a 5c 73 6d 61 6c 6c 0a |EXAMPLE}|.\small.|
|000036e0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|000036f0| 0a 44 6f 4d 65 74 68 6f | 64 28 77 69 6e 64 6f 77 |.DoMetho|d(window|
|00003700| 2c 20 4d 55 49 4d 5f 4e | 6f 74 69 66 79 2c 0a 20 |, MUIM_N|otify,. |
|00003710| 20 20 4d 55 49 41 5f 57 | 69 6e 64 6f 77 5f 49 6e | MUIA_W|indow_In|
|00003720| 70 75 74 45 76 65 6e 74 | 2c 20 22 63 6f 6e 74 72 |putEvent|, "contr|
|00003730| 6f 6c 20 70 22 2c 0a 20 | 20 20 74 78 6f 62 6a 2c |ol p",. | txobj,|
|00003740| 20 33 2c 0a 20 20 20 4d | 55 49 4d 5f 53 65 74 2c | 3,. M|UIM_Set,|
|00003750| 20 4d 55 49 41 5f 54 65 | 78 74 5f 43 6f 6e 74 65 | MUIA_Te|xt_Conte|
|00003760| 6e 74 73 2c 20 22 75 73 | 65 72 20 70 72 65 73 73 |nts, "us|er press|
|00003770| 65 64 20 63 74 72 6c 20 | 70 22 29 3b 0a 0a 5c 65 |ed ctrl |p");..\e|
|00003780| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 5c 6e 6f |nd{verba|tim}.\no|
|00003790| 72 6d 61 6c 73 69 7a 65 | 0a 5c 73 75 62 73 65 63 |rmalsize|.\subsec|
|000037a0| 74 69 6f 6e 5b 4d 55 49 | 41 5c 5f 57 69 6e 64 6f |tion[MUI|A\_Windo|
|000037b0| 77 5c 5f 4c 65 66 74 45 | 64 67 65 5d 7b 4d 55 49 |w\_LeftE|dge]{MUI|
|000037c0| 41 5c 5f 57 69 6e 64 6f | 77 5c 5f 4c 65 66 74 45 |A\_Windo|w\_LeftE|
|000037d0| 64 67 65 20 2d 2d 20 28 | 56 34 29 20 5b 49 2e 47 |dge -- (|V4) [I.G|
|000037e0| 5d 2c 20 4c 4f 4e 47 7d | 0a 0a 5c 73 75 62 73 75 |], LONG}|..\subsu|
|000037f0| 62 73 65 63 74 69 6f 6e | 2a 7b 53 50 45 43 49 41 |bsection|*{SPECIA|
|00003800| 4c 20 49 4e 50 55 54 53 | 7d 0a 4d 55 49 56 5c 5f |L INPUTS|}.MUIV\_|
|00003810| 57 69 6e 64 6f 77 5c 5f | 4c 65 66 74 45 64 67 65 |Window\_|LeftEdge|
|00003820| 5c 5f 43 65 6e 74 65 72 | 65 64 5c 5c 0a 4d 55 49 |\_Center|ed\\.MUI|
|00003830| 56 5c 5f 57 69 6e 64 6f | 77 5c 5f 4c 65 66 74 45 |V\_Windo|w\_LeftE|
|00003840| 64 67 65 5c 5f 4d 6f 75 | 73 65 64 5c 5c 0a 0a 5c |dge\_Mou|sed\\..\|
|00003850| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00003860| 55 4e 43 54 49 4f 4e 7d | 0a 53 70 65 63 69 66 79 |UNCTION}|.Specify|
|00003870| 20 74 68 65 20 6c 65 66 | 74 20 65 64 67 65 20 6f | the lef|t edge o|
|00003880| 66 20 61 20 77 69 6e 64 | 6f 77 2e 20 55 73 75 61 |f a wind|ow. Usua|
|00003890| 6c 6c 79 2c 20 79 6f 75 | 20 73 68 6f 75 6c 64 6e |lly, you| shouldn|
|000038a0| 27 74 0a 64 65 66 69 6e | 65 20 61 20 70 69 78 65 |'t.defin|e a pixe|
|000038b0| 6c 20 76 61 6c 75 65 20 | 68 65 72 65 20 62 75 74 |l value |here but|
|000038c0| 20 69 6e 73 74 65 61 64 | 20 75 73 65 20 6f 6e 65 | instead| use one|
|000038d0| 20 6f 66 20 74 68 65 0a | 66 6f 6c 6c 6f 77 69 6e | of the.|followin|
|000038e0| 67 20 6d 61 63 72 6f 73 | 3a 0a 0a 5c 62 65 67 69 |g macros|:..\begi|
|000038f0| 6e 7b 64 65 73 63 72 69 | 70 74 69 6f 6e 7d 0a 5c |n{descri|ption}.\|
|00003900| 69 74 65 6d 5b 4d 55 49 | 56 5c 5f 57 69 6e 64 6f |item[MUI|V\_Windo|
|00003910| 77 5c 5f 4c 65 66 74 45 | 64 67 65 5c 5f 43 65 6e |w\_LeftE|dge\_Cen|
|00003920| 74 65 72 65 64 3a 5d 0a | 77 69 6e 64 6f 77 20 61 |tered:].|window a|
|00003930| 70 70 65 61 72 73 20 63 | 65 6e 74 65 72 65 64 20 |ppears c|entered |
|00003940| 6f 6e 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 61 |on the v|isible a|
|00003950| 72 65 61 20 6f 66 20 73 | 63 72 65 65 6e 2e 0a 0a |rea of s|creen...|
|00003960| 5c 69 74 65 6d 5b 4d 55 | 49 56 5c 5f 57 69 6e 64 |\item[MU|IV\_Wind|
|00003970| 6f 77 5c 5f 4c 65 66 74 | 45 64 67 65 5c 5f 4d 6f |ow\_Left|Edge\_Mo|
|00003980| 75 73 65 64 5d 0a 77 69 | 6e 64 6f 77 20 61 70 70 |used].wi|ndow app|
|00003990| 65 61 72 73 20 63 65 6e | 74 65 72 65 64 20 75 6e |ears cen|tered un|
|000039a0| 64 65 72 20 74 68 65 20 | 6d 6f 75 73 65 20 70 6f |der the |mouse po|
|000039b0| 69 6e 74 65 72 2e 0a 5c | 65 6e 64 7b 64 65 73 63 |inter..\|end{desc|
|000039c0| 72 69 70 74 69 6f 6e 7d | 0a 20 20 20 0a 44 65 66 |ription}|. .Def|
|000039d0| 61 75 6c 74 20 66 6f 72 | 20 74 68 69 73 20 74 61 |ault for| this ta|
|000039e0| 67 20 69 73 20 4d 55 49 | 56 5c 5f 57 69 6e 64 6f |g is MUI|V\_Windo|
|000039f0| 77 5c 5f 4c 65 66 74 45 | 64 67 65 5c 5f 43 65 6e |w\_LeftE|dge\_Cen|
|00003a00| 74 65 72 65 64 2e 0a 0a | 41 73 20 6c 6f 6e 67 20 |tered...|As long |
|00003a10| 61 73 20 79 6f 75 72 20 | 77 69 6e 64 6f 77 20 68 |as your |window h|
|00003a20| 61 73 20 61 20 77 69 6e | 64 6f 77 20 69 64 20 28 |as a win|dow id (|
|00003a30| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 49 44 |MUIA\_Wi|ndow\_ID|
|00003a40| 29 2c 0a 63 68 6f 6f 73 | 69 6e 67 20 61 20 70 6f |),.choos|ing a po|
|00003a50| 73 69 74 69 6f 6e 20 69 | 73 20 6e 6f 74 20 74 68 |sition i|s not th|
|00003a60| 61 74 20 69 6d 70 6f 72 | 74 61 6e 74 2e 20 4d 55 |at impor|tant. MU|
|00003a70| 49 20 77 69 6c 6c 20 61 | 6c 77 61 79 73 0a 72 65 |I will a|lways.re|
|00003a80| 6d 65 6d 62 65 72 20 61 | 20 77 69 6e 64 6f 77 73 |member a| windows|
|00003a90| 20 6c 61 73 74 20 70 6f | 73 69 74 69 6f 6e 20 61 | last po|sition a|
|00003aa0| 6e 64 20 73 69 7a 65 20 | 61 6e 64 20 74 68 65 73 |nd size |and thes|
|00003ab0| 65 0a 76 61 6c 75 65 73 | 20 77 69 6c 6c 20 73 69 |e.values| will si|
|00003ac0| 6d 70 6c 79 20 6f 76 65 | 72 72 69 64 65 20 79 6f |mply ove|rride yo|
|00003ad0| 75 72 20 73 65 74 74 69 | 6e 67 73 2e 20 50 6f 73 |ur setti|ngs. Pos|
|00003ae0| 69 74 69 6f 6e 69 6e 67 | 0a 61 6e 64 20 73 69 7a |itioning|.and siz|
|00003af0| 69 6e 67 20 73 68 6f 75 | 6c 64 20 62 65 20 63 6f |ing shou|ld be co|
|00003b00| 6d 70 6c 65 74 65 6c 79 | 20 75 6e 64 65 72 20 75 |mpletely| under u|
|00003b10| 73 65 72 20 63 6f 6e 74 | 72 6f 6c 2c 0a 61 20 70 |ser cont|rol,.a p|
|00003b20| 72 6f 67 72 61 6d 6d 65 | 72 20 64 6f 65 73 6e 27 |rogramme|r doesn'|
|00003b30| 74 20 6e 65 65 64 20 74 | 6f 20 77 6f 72 72 79 20 |t need t|o worry |
|00003b40| 61 62 6f 75 74 20 69 74 | 2e 0a 0a 5c 73 75 62 73 |about it|...\subs|
|00003b50| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|00003b60| 4c 53 4f 7d 0a 4d 55 49 | 41 5c 5f 57 69 6e 64 6f |LSO}.MUI|A\_Windo|
|00003b70| 77 5c 5f 54 6f 70 45 64 | 67 65 2c 20 4d 55 49 41 |w\_TopEd|ge, MUIA|
|00003b80| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 49 44 0a 0a 5c 73 |\_Window|\_ID..\s|
|00003b90| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|00003ba0| 57 69 6e 64 6f 77 5c 5f | 4d 65 6e 75 5d 7b 4d 55 |Window\_|Menu]{MU|
|00003bb0| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 4d 65 6e 75 |IA\_Wind|ow\_Menu|
|00003bc0| 20 2d 2d 20 28 56 34 29 | 20 5b 49 2e 2e 5d 2c 20 | -- (V4)| [I..], |
|00003bd0| 73 74 72 75 63 74 20 4e | 65 77 4d 65 6e 75 20 24 |struct N|ewMenu $|
|00003be0| 5c 61 73 74 24 20 28 4f | 42 53 4f 4c 45 54 45 29 |\ast$ (O|BSOLETE)|
|00003bf0| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00003c00| 6e 2a 7b 53 50 45 43 49 | 41 4c 20 49 4e 50 55 54 |n*{SPECI|AL INPUT|
|00003c10| 53 7d 0a 4d 55 49 56 5c | 5f 57 69 6e 64 6f 77 5c |S}.MUIV\|_Window\|
|00003c20| 5f 4d 65 6e 75 5c 5f 4e | 6f 4d 65 6e 75 0a 0a 5c |_Menu\_N|oMenu..\|
|00003c30| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00003c40| 55 4e 43 54 49 4f 4e 7d | 0a 4f 62 73 6f 6c 65 74 |UNCTION}|.Obsolet|
|00003c50| 65 2c 20 75 73 65 20 4d | 55 49 41 5c 5f 57 69 6e |e, use M|UIA\_Win|
|00003c60| 64 6f 77 5c 5f 4d 65 6e | 75 73 74 72 69 70 20 69 |dow\_Men|ustrip i|
|00003c70| 6e 73 74 65 61 64 2e 0a | 0a 5c 73 75 62 73 75 62 |nstead..|.\subsub|
|00003c80| 73 65 63 74 69 6f 6e 2a | 7b 53 45 45 20 41 4c 53 |section*|{SEE ALS|
|00003c90| 4f 7d 0a 4d 55 49 41 5c | 5f 57 69 6e 64 6f 77 5c |O}.MUIA\|_Window\|
|00003ca0| 5f 4d 65 6e 75 73 74 72 | 69 70 0a 0a 5c 73 75 62 |_Menustr|ip..\sub|
|00003cb0| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 57 69 |section[|MUIA\_Wi|
|00003cc0| 6e 64 6f 77 5c 5f 4d 65 | 6e 75 41 63 74 69 6f 6e |ndow\_Me|nuAction|
|00003cd0| 5d 7b 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |]{MUIA\_|Window\_|
|00003ce0| 4d 65 6e 75 41 63 74 69 | 6f 6e 20 2d 2d 20 28 56 |MenuActi|on -- (V|
|00003cf0| 38 29 20 5b 49 53 47 5d | 2c 20 55 4c 4f 4e 47 7d |8) [ISG]|, ULONG}|
|00003d00| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00003d10| 2a 7b 46 55 4e 43 54 49 | 4f 4e 7d 0a 57 68 65 6e |*{FUNCTI|ON}.When|
|00003d20| 65 76 65 72 20 61 20 6d | 65 6e 75 20 69 74 65 6d |ever a m|enu item|
|00003d30| 20 69 73 20 73 65 6c 65 | 63 74 65 64 2c 20 74 68 | is sele|cted, th|
|00003d40| 69 73 20 61 74 74 72 69 | 62 75 74 65 20 77 69 6c |is attri|bute wil|
|00003d50| 6c 20 62 65 0a 73 65 74 | 20 74 6f 20 74 68 65 20 |l be.set| to the |
|00003d60| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 55 73 |correspo|nding Us|
|00003d70| 65 72 44 61 74 61 20 66 | 69 65 6c 64 20 6f 66 20 |erData f|ield of |
|00003d80| 74 68 65 20 67 61 64 74 | 6f 6f 6c 73 0a 4e 65 77 |the gadt|ools.New|
|00003d90| 4d 65 6e 75 20 73 74 72 | 75 63 74 75 72 65 2e 20 |Menu str|ucture. |
|00003da0| 54 68 69 73 20 61 6c 6c | 6f 77 73 20 72 65 61 63 |This all|ows reac|
|00003db0| 74 69 6e 67 20 6f 6e 20 | 6d 65 6e 75 20 69 74 65 |ting on |menu ite|
|00003dc0| 6d 73 0a 76 69 61 20 62 | 72 6f 61 64 63 61 73 74 |ms.via b|roadcast|
|00003dd0| 69 6e 67 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |ing...\s|ubsubsec|
|00003de0| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00003df0| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 4d 65 |MUIA\_Wi|ndow\_Me|
|00003e00| 6e 75 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 5b |nu..\sub|section[|
|00003e10| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 4d 65 |MUIA\_Wi|ndow\_Me|
|00003e20| 6e 75 73 74 72 69 70 5d | 7b 4d 55 49 41 5c 5f 57 |nustrip]|{MUIA\_W|
|00003e30| 69 6e 64 6f 77 5c 5f 4d | 65 6e 75 73 74 72 69 70 |indow\_M|enustrip|
|00003e40| 20 2d 2d 20 28 56 38 29 | 20 5b 49 2e 2e 5d 2c 20 | -- (V8)| [I..], |
|00003e50| 4f 62 6a 65 63 74 20 24 | 5c 61 73 74 24 7d 0a 0a |Object $|\ast$}..|
|00003e60| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00003e70| 46 55 4e 43 54 49 4f 4e | 7d 0a 53 70 65 63 69 66 |FUNCTION|}.Specif|
|00003e80| 79 20 61 20 6d 65 6e 75 | 20 73 74 72 69 70 20 6f |y a menu| strip o|
|00003e90| 62 6a 65 63 74 20 66 6f | 72 20 74 68 69 73 20 77 |bject fo|r this w|
|00003ea0| 69 6e 64 6f 77 2e 20 54 | 68 65 20 6f 62 6a 65 63 |indow. T|he objec|
|00003eb0| 74 0a 69 73 20 74 72 65 | 61 74 65 64 20 61 73 20 |t.is tre|ated as |
|00003ec0| 61 20 63 68 69 6c 64 20 | 6f 66 20 74 68 65 20 77 |a child |of the w|
|00003ed0| 69 6e 64 6f 77 20 61 6e | 64 20 77 69 6c 6c 20 62 |indow an|d will b|
|00003ee0| 65 20 64 69 73 70 6f 73 | 65 64 0a 77 68 65 6e 20 |e dispos|ed.when |
|00003ef0| 74 68 65 20 77 69 6e 64 | 6f 77 20 69 73 20 64 69 |the wind|ow is di|
|00003f00| 73 70 6f 73 65 64 2e 0a | 0a 4d 65 6e 75 73 74 72 |sposed..|.Menustr|
|00003f10| 69 70 20 6f 62 6a 65 63 | 74 73 20 64 65 66 69 6e |ip objec|ts defin|
|00003f20| 65 64 20 66 6f 72 20 61 | 20 77 69 6e 64 6f 77 20 |ed for a| window |
|00003f30| 77 69 6c 6c 20 6f 76 65 | 72 72 69 64 65 20 61 6e |will ove|rride an|
|00003f40| 0a 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 4d 65 |.applica|tions Me|
|00003f50| 6e 75 73 74 72 69 70 20 | 6f 62 6a 65 63 74 2e 0a |nustrip |object..|
|00003f60| 0a 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 4d |.MUIA\_W|indow\_M|
|00003f70| 65 6e 75 73 74 72 69 70 | 20 72 65 70 6c 61 63 65 |enustrip| replace|
|00003f80| 73 20 74 68 65 20 6f 6c | 64 20 61 6e 64 20 6f 62 |s the ol|d and ob|
|00003f90| 73 6f 6c 65 74 65 0a 4d | 55 49 41 5c 5f 57 69 6e |solete.M|UIA\_Win|
|00003fa0| 64 6f 77 5c 5f 4d 65 6e | 75 20 74 61 67 2e 0a 0a |dow\_Men|u tag...|
|00003fb0| 55 73 75 61 6c 6c 79 2c | 20 79 6f 75 20 77 69 6c |Usually,| you wil|
|00003fc0| 6c 20 63 72 65 61 74 65 | 20 74 68 65 20 6d 65 6e |l create| the men|
|00003fd0| 75 20 6f 62 6a 65 63 74 | 20 77 69 74 68 20 4d 55 |u object| with MU|
|00003fe0| 49 27 73 20 62 75 69 6c | 74 69 6e 0a 6f 62 6a 65 |I's buil|tin.obje|
|00003ff0| 63 74 20 6c 69 62 72 61 | 72 79 20 66 72 6f 6d 20 |ct libra|ry from |
|00004000| 61 20 67 61 64 74 6f 6f | 6c 73 20 4e 65 77 4d 65 |a gadtoo|ls NewMe|
|00004010| 6e 75 20 73 74 72 75 63 | 74 75 72 65 2c 20 62 75 |nu struc|ture, bu|
|00004020| 74 20 69 74 73 0a 61 6c | 73 6f 20 4f 4b 20 74 6f |t its.al|so OK to|
|00004030| 20 64 65 66 69 6e 65 20 | 74 68 65 20 6d 65 6e 75 | define |the menu|
|00004040| 20 74 72 65 65 20 27 27 | 62 79 20 68 61 6e 64 27 | tree ''|by hand'|
|00004050| 27 20 75 73 69 6e 67 20 | 74 68 65 0a 46 61 6d 69 |' using |the.Fami|
|00004060| 6c 79 20 63 6c 61 73 73 | 2e 0a 0a 49 66 20 79 6f |ly class|...If yo|
|00004070| 75 20 68 61 76 65 20 61 | 20 67 6c 6f 62 61 6c 20 |u have a| global |
|00004080| 6d 65 6e 75 20 66 6f 72 | 20 61 6c 6c 20 79 6f 75 |menu for| all you|
|00004090| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 77 |r applic|ations w|
|000040a0| 69 6e 64 6f 77 73 0a 62 | 75 74 20 79 6f 75 20 77 |indows.b|ut you w|
|000040b0| 61 6e 74 20 73 6f 6d 65 | 20 77 69 6e 64 6f 77 73 |ant some| windows|
|000040c0| 20 74 6f 20 68 61 76 65 | 20 6e 6f 20 6d 65 6e 75 | to have| no menu|
|000040d0| 2c 20 75 73 65 20 74 68 | 65 0a 4d 55 49 41 5c 5f |, use th|e.MUIA\_|
|000040e0| 57 69 6e 64 6f 77 5c 5f | 4e 6f 4d 65 6e 75 73 20 |Window\_|NoMenus |
|000040f0| 74 61 67 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |tag...\s|ubsubsec|
|00004100| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00004110| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 4e 6f |MUIA\_Wi|ndow\_No|
|00004120| 4d 65 6e 75 73 0a 0a 5c | 73 75 62 73 65 63 74 69 |Menus..\|subsecti|
|00004130| 6f 6e 5b 4d 55 49 41 5c | 5f 57 69 6e 64 6f 77 5c |on[MUIA\|_Window\|
|00004140| 5f 4d 6f 75 73 65 4f 62 | 6a 65 63 74 5d 7b 4d 55 |_MouseOb|ject]{MU|
|00004150| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 4d 6f 75 73 |IA\_Wind|ow\_Mous|
|00004160| 65 4f 62 6a 65 63 74 20 | 2d 2d 20 28 56 31 30 29 |eObject |-- (V10)|
|00004170| 20 5b 2e 2e 47 5d 2c 20 | 4f 62 6a 65 63 74 20 2a | [..G], |Object *|
|00004180| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00004190| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 57 68 65 |n*{FUNCT|ION}.Whe|
|000041a0| 6e 20 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |n MUIA\_|Window\_|
|000041b0| 4e 65 65 64 73 4d 6f 75 | 73 65 4f 62 6a 65 63 74 |NeedsMou|seObject|
|000041c0| 20 69 73 20 65 6e 61 62 | 6c 65 64 20 66 6f 72 20 | is enab|led for |
|000041d0| 74 68 69 73 20 77 69 6e | 64 6f 77 2c 0a 79 6f 75 |this win|dow,.you|
|000041e0| 20 63 61 6e 20 73 65 74 | 75 70 20 6e 6f 74 69 66 | can set|up notif|
|000041f0| 69 63 61 74 69 6f 6e 6e | 73 20 6f 6e 20 4d 55 49 |icationn|s on MUI|
|00004200| 41 5c 5f 57 69 6e 64 6f | 77 5c 5f 4d 6f 75 73 65 |A\_Windo|w\_Mouse|
|00004210| 4f 62 6a 65 63 74 20 74 | 6f 0a 66 69 6e 64 20 6f |Object t|o.find o|
|00004220| 75 74 20 6f 6e 20 77 68 | 69 63 68 20 6f 62 6a 65 |ut on wh|ich obje|
|00004230| 63 74 20 74 68 65 20 6d | 6f 75 73 65 20 70 6f 69 |ct the m|ouse poi|
|00004240| 6e 74 65 72 20 69 73 20 | 6c 6f 63 61 74 65 64 2e |nter is |located.|
|00004250| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00004260| 2a 7b 53 45 45 20 41 4c | 53 4f 7d 0a 4d 55 49 41 |*{SEE AL|SO}.MUIA|
|00004270| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 4e 65 65 64 73 4d |\_Window|\_NeedsM|
|00004280| 6f 75 73 65 4f 62 6a 65 | 63 74 0a 0a 5c 73 75 62 |ouseObje|ct..\sub|
|00004290| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 57 69 |section[|MUIA\_Wi|
|000042a0| 6e 64 6f 77 5c 5f 4e 65 | 65 64 73 4d 6f 75 73 65 |ndow\_Ne|edsMouse|
|000042b0| 4f 62 6a 65 63 74 5d 7b | 4d 55 49 41 5c 5f 57 69 |Object]{|MUIA\_Wi|
|000042c0| 6e 64 6f 77 5c 5f 4e 65 | 65 64 73 4d 6f 75 73 65 |ndow\_Ne|edsMouse|
|000042d0| 4f 62 6a 65 63 74 20 2d | 2d 20 28 56 31 30 29 20 |Object -|- (V10) |
|000042e0| 5b 49 2e 2e 5d 2c 20 42 | 4f 4f 4c 7d 0a 0a 5c 73 |[I..], B|OOL}..\s|
|000042f0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|00004300| 4e 43 54 49 4f 4e 7d 0a | 49 66 20 79 6f 75 20 77 |NCTION}.|If you w|
|00004310| 61 6e 74 20 74 6f 20 72 | 65 61 63 74 20 6f 6e 20 |ant to r|eact on |
|00004320| 63 68 61 6e 67 65 73 20 | 6f 66 20 74 68 65 20 4d |changes |of the M|
|00004330| 55 49 41 5c 5f 57 69 6e | 64 6f 77 5c 5f 4d 6f 75 |UIA\_Win|dow\_Mou|
|00004340| 73 65 4f 62 6a 65 63 74 | 0a 61 74 74 72 69 62 75 |seObject|.attribu|
|00004350| 74 65 2c 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 |te, you |have to |
|00004360| 73 65 74 20 74 68 69 73 | 20 74 6f 20 54 52 55 45 |set this| to TRUE|
|00004370| 20 77 68 65 6e 20 63 72 | 65 61 74 69 6e 67 20 79 | when cr|eating y|
|00004380| 6f 75 72 0a 77 69 6e 64 | 6f 77 2e 0a 0a 5c 73 75 |our.wind|ow...\su|
|00004390| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 45 45 |bsubsect|ion*{SEE|
|000043a0| 20 41 4c 53 4f 7d 0a 4d | 55 49 41 5c 5f 57 69 6e | ALSO}.M|UIA\_Win|
|000043b0| 64 6f 77 5c 5f 4d 6f 75 | 73 65 4f 62 6a 65 63 74 |dow\_Mou|seObject|
|000043c0| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|000043d0| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 4e 6f 4d 65 |IA\_Wind|ow\_NoMe|
|000043e0| 6e 75 73 5d 7b 4d 55 49 | 41 5c 5f 57 69 6e 64 6f |nus]{MUI|A\_Windo|
|000043f0| 77 5c 5f 4e 6f 4d 65 6e | 75 73 20 2d 2d 20 28 56 |w\_NoMen|us -- (V|
|00004400| 34 29 20 5b 49 53 2e 5d | 2c 20 42 4f 4f 4c 7d 0a |4) [IS.]|, BOOL}.|
|00004410| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00004420| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 54 65 6d 70 6f |{FUNCTIO|N}.Tempo|
|00004430| 72 61 72 69 6c 79 20 64 | 69 73 61 62 6c 65 20 74 |rarily d|isable t|
|00004440| 68 65 20 6d 65 6e 75 20 | 73 74 72 69 70 20 6f 66 |he menu |strip of|
|00004450| 20 61 20 77 69 6e 64 6f | 77 2e 0a 0a 5c 73 75 62 | a windo|w...\sub|
|00004460| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|00004470| 41 4c 53 4f 7d 0a 4d 55 | 49 41 5c 5f 57 69 6e 64 |ALSO}.MU|IA\_Wind|
|00004480| 6f 77 5c 5f 4d 65 6e 75 | 0a 0a 5c 73 75 62 73 65 |ow\_Menu|..\subse|
|00004490| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 57 69 6e 64 |ction[MU|IA\_Wind|
|000044a0| 6f 77 5c 5f 4f 70 65 6e | 5d 7b 4d 55 49 41 5c 5f |ow\_Open|]{MUIA\_|
|000044b0| 57 69 6e 64 6f 77 5c 5f | 4f 70 65 6e 20 2d 2d 20 |Window\_|Open -- |
|000044c0| 28 56 34 29 20 5b 2e 53 | 47 5d 2c 20 42 4f 4f 4c |(V4) [.S|G], BOOL|
|000044d0| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|000044e0| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 54 68 69 |n*{FUNCT|ION}.Thi|
|000044f0| 73 20 6c 69 74 74 6c 65 | 20 61 74 74 72 69 62 75 |s little| attribu|
|00004500| 74 65 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |te can b|e used t|
|00004510| 6f 20 6f 70 65 6e 20 61 | 6e 64 20 63 6c 6f 73 65 |o open a|nd close|
|00004520| 0a 61 20 77 69 6e 64 6f | 77 2e 20 57 68 65 6e 20 |.a windo|w. When |
|00004530| 6f 70 65 6e 69 6e 67 20 | 61 20 77 69 6e 64 6f 77 |opening |a window|
|00004540| 2c 20 4d 55 49 20 64 6f | 65 73 20 6c 6f 74 73 20 |, MUI do|es lots |
|00004550| 6f 66 0a 73 74 75 66 66 | 20 74 6f 20 63 61 6c 63 |of.stuff| to calc|
|00004560| 75 6c 61 74 65 20 73 69 | 7a 65 73 20 61 6e 64 20 |ulate si|zes and |
|00004570| 70 6f 73 69 74 69 6f 6e | 73 20 6f 66 20 61 6c 6c |position|s of all|
|00004580| 0a 67 61 64 67 65 74 73 | 2e 20 4d 69 6e 69 6d 75 |.gadgets|. Minimu|
|00004590| 6d 20 61 6e 64 20 6d 61 | 78 69 6d 75 6d 20 77 69 |m and ma|ximum wi|
|000045a0| 6e 64 6f 77 20 73 69 7a | 65 73 20 77 69 6c 6c 20 |ndow siz|es will |
|000045b0| 62 65 0a 61 64 6a 75 73 | 74 65 64 20 61 75 74 6f |be.adjus|ted auto|
|000045c0| 6d 61 74 69 63 61 6c 6c | 79 2e 0a 0a 57 68 65 6e |maticall|y...When|
|000045d0| 20 74 68 65 20 6d 69 6e | 69 6d 75 6d 20 73 69 7a | the min|imum siz|
|000045e0| 65 20 6f 66 20 61 20 77 | 69 6e 64 6f 77 20 69 73 |e of a w|indow is|
|000045f0| 20 74 6f 6f 20 62 69 67 | 20 74 6f 20 66 69 74 0a | too big| to fit.|
|00004600| 6f 6e 20 74 68 65 20 73 | 63 72 65 65 6e 2c 20 4d |on the s|creen, M|
|00004610| 55 49 20 74 72 69 65 73 | 20 74 6f 20 72 65 64 75 |UI tries| to redu|
|00004620| 63 65 20 66 6f 6e 74 20 | 73 69 7a 65 73 20 61 6e |ce font |sizes an|
|00004630| 64 0a 64 6f 65 73 20 61 | 20 6e 65 77 20 63 61 6c |d.does a| new cal|
|00004640| 63 75 6c 61 74 69 6f 6e | 2e 20 59 6f 75 20 73 68 |culation|. You sh|
|00004650| 6f 75 6c 64 20 61 6c 77 | 61 79 73 20 64 65 73 69 |ould alw|ays desi|
|00004660| 67 6e 0a 79 6f 75 72 20 | 77 69 6e 64 6f 77 73 20 |gn.your |windows |
|00004670| 74 6f 20 66 69 74 20 6f | 6e 20 61 20 36 34 30 24 |to fit o|n a 640$|
|00004680| 5c 61 73 74 24 32 30 30 | 20 73 63 72 65 65 6e 20 |\ast$200| screen |
|00004690| 77 69 74 68 0a 61 6c 6c | 20 66 6f 6e 74 73 20 73 |with.all| fonts s|
|000046a0| 65 74 20 74 6f 20 74 6f | 70 61 7a 2f 38 2e 0a 0a |et to to|paz/8...|
|000046b0| 57 68 65 6e 20 61 20 77 | 69 6e 64 6f 77 20 69 73 |When a w|indow is|
|000046c0| 20 63 6c 6f 73 65 64 20 | 28 61 6e 64 20 79 6f 75 | closed |(and you|
|000046d0| 20 73 70 65 63 69 66 69 | 65 64 20 61 0a 4d 55 49 | specifi|ed a.MUI|
|000046e0| 41 5c 5f 57 69 6e 64 6f | 77 5c 5f 49 44 29 2c 20 |A\_Windo|w\_ID), |
|000046f0| 4d 55 49 20 72 65 6d 65 | 6d 62 65 72 73 20 69 74 |MUI reme|mbers it|
|00004700| 73 20 70 6f 73 69 74 69 | 6f 6e 0a 61 6e 64 20 73 |s positi|on.and s|
|00004710| 69 7a 65 20 61 6e 64 20 | 75 73 65 73 20 74 68 65 |ize and |uses the|
|00004720| 73 65 20 76 61 6c 75 65 | 73 20 64 75 72 69 6e 67 |se value|s during|
|00004730| 20 74 68 65 20 6e 65 78 | 74 0a 6f 70 65 6e 69 6e | the nex|t.openin|
|00004740| 67 2e 0a 0a 41 66 74 65 | 72 20 73 65 74 74 69 6e |g...Afte|r settin|
|00004750| 67 20 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |g MUIA\_|Window\_|
|00004760| 4f 70 65 6e 20 74 6f 20 | 54 52 55 45 2c 20 79 6f |Open to |TRUE, yo|
|00004770| 75 20 73 68 6f 75 6c 64 | 0a 74 65 73 74 20 69 66 |u should|.test if|
|00004780| 20 4d 55 49 20 77 61 73 | 20 61 62 6c 65 20 74 6f | MUI was| able to|
|00004790| 20 6f 70 65 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 | open th|e window|
|000047a0| 20 62 79 20 67 65 74 74 | 69 6e 67 0a 74 68 65 20 | by gett|ing.the |
|000047b0| 61 74 74 72 69 62 75 74 | 65 20 61 67 61 69 6e 2e |attribut|e again.|
|000047c0| 20 49 66 20 79 6f 75 20 | 64 6f 6e 27 74 20 61 6e | If you |don't an|
|000047d0| 64 20 69 66 20 74 68 69 | 73 20 77 61 73 0a 74 68 |d if thi|s was.th|
|000047e0| 65 20 6f 6e 6c 79 20 77 | 69 6e 64 6f 77 20 6f 66 |e only w|indow of|
|000047f0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00004800| 6e 2c 20 74 68 65 20 75 | 73 65 72 20 77 6f 6e 27 |n, the u|ser won'|
|00004810| 74 0a 62 65 20 61 62 6c | 65 20 74 6f 20 64 6f 20 |t.be abl|e to do |
|00004820| 61 6e 79 20 69 6e 70 75 | 74 20 61 6e 64 20 79 6f |any inpu|t and yo|
|00004830| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 77 |ur appli|cation w|
|00004840| 69 6c 6c 0a 73 65 65 6d | 20 74 6f 20 68 61 6e 67 |ill.seem| to hang|
|00004850| 2e 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|00004860| 6e 2a 7b 45 58 41 4d 50 | 4c 45 7d 0a 5c 73 6d 61 |n*{EXAMP|LE}.\sma|
|00004870| 6c 6c 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |ll.\begi|n{verbat|
|00004880| 69 6d 7d 0a 73 65 74 28 | 77 69 6e 64 6f 77 2c 4d |im}.set(|window,M|
|00004890| 55 49 41 5f 57 69 6e 64 | 6f 77 5f 4f 70 65 6e 2c |UIA_Wind|ow_Open,|
|000048a0| 54 52 55 45 29 3b 0a 67 | 65 74 28 77 69 6e 64 6f |TRUE);.g|et(windo|
|000048b0| 77 2c 4d 55 49 41 5f 57 | 69 6e 64 6f 77 5f 4f 70 |w,MUIA_W|indow_Op|
|000048c0| 65 6e 2c 26 6f 70 65 6e | 29 3b 0a 69 66 20 28 21 |en,&open|);.if (!|
|000048d0| 6f 70 65 6e 29 0a 7b 0a | 20 20 20 4d 55 49 5f 52 |open).{.| MUI_R|
|000048e0| 65 71 75 65 73 74 28 61 | 70 70 2c 30 2c 30 2c 30 |equest(a|pp,0,0,0|
|000048f0| 2c 22 4f 6b 22 2c 22 46 | 61 69 6c 65 64 20 74 6f |,"Ok","F|ailed to|
|00004900| 20 6f 70 65 6e 20 77 69 | 6e 64 6f 77 2e 22 29 3b | open wi|ndow.");|
|00004910| 0a 20 20 20 65 78 69 74 | 28 32 30 29 3b 0a 7d 0a |. exit|(20);.}.|
|00004920| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00004930| 5c 6e 6f 72 6d 61 6c 73 | 69 7a 65 0a 5c 73 75 62 |\normals|ize.\sub|
|00004940| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|00004950| 41 4c 53 4f 7d 0a 4d 55 | 49 41 5c 5f 57 69 6e 64 |ALSO}.MU|IA\_Wind|
|00004960| 6f 77 5c 5f 52 6f 6f 74 | 4f 62 6a 65 63 74 0a 0a |ow\_Root|Object..|
|00004970| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|00004980| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 50 75 62 6c 69 63 |\_Window|\_Public|
|00004990| 53 63 72 65 65 6e 5d 7b | 4d 55 49 41 5c 5f 57 69 |Screen]{|MUIA\_Wi|
|000049a0| 6e 64 6f 77 5c 5f 50 75 | 62 6c 69 63 53 63 72 65 |ndow\_Pu|blicScre|
|000049b0| 65 6e 20 2d 2d 20 28 56 | 36 29 20 5b 49 53 47 5d |en -- (V|6) [ISG]|
|000049c0| 2c 20 53 54 52 50 54 52 | 7d 0a 0a 5c 73 75 62 73 |, STRPTR|}..\subs|
|000049d0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|000049e0| 49 4f 4e 7d 0a 46 6f 72 | 63 65 20 74 68 65 20 77 |ION}.For|ce the w|
|000049f0| 69 6e 64 6f 77 20 74 6f | 20 61 70 70 65 61 72 20 |indow to| appear |
|00004a00| 6f 6e 20 74 68 65 20 70 | 75 62 6c 69 63 20 73 63 |on the p|ublic sc|
|00004a10| 72 65 65 6e 20 77 68 6f | 27 73 20 6e 61 6d 65 0a |reen who|'s name.|
|00004a20| 69 73 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |is speci|fied by |
|00004a30| 74 68 69 73 20 61 74 74 | 72 69 62 75 74 65 2e 20 |this att|ribute. |
|00004a40| 54 68 69 73 20 74 61 67 | 20 6f 76 65 72 72 69 64 |This tag| overrid|
|00004a50| 65 73 20 74 68 65 0a 75 | 73 65 72 20 70 72 65 66 |es the.u|ser pref|
|00004a60| 65 72 65 6e 63 65 73 20 | 73 65 74 74 69 6e 67 20 |erences |setting |
|00004a70| 61 6e 64 20 69 73 20 6f | 76 65 72 72 69 64 64 65 |and is o|verridde|
|00004a80| 6e 20 62 79 0a 4d 55 49 | 41 5c 5f 57 69 6e 64 6f |n by.MUI|A\_Windo|
|00004a90| 77 5c 5f 53 63 72 65 65 | 6e 2e 0a 0a 50 6c 65 61 |w\_Scree|n...Plea|
|00004aa0| 73 65 20 75 73 65 20 74 | 68 69 73 20 74 61 67 20 |se use t|his tag |
|00004ab0| 73 70 61 72 65 6c 79 2c | 20 6f 76 65 72 72 69 64 |sparely,| overrid|
|00004ac0| 69 6e 67 20 75 73 65 72 | 20 70 72 65 66 73 20 69 |ing user| prefs i|
|00004ad0| 73 0a 6e 6f 74 20 61 20 | 67 6f 6f 64 20 69 64 65 |s.not a |good ide|
|00004ae0| 61 21 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |a!..\sub|subsecti|
|00004af0| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00004b00| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 53 63 72 65 |IA\_Wind|ow\_Scre|
|00004b10| 65 6e 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 5b |en..\sub|section[|
|00004b20| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 52 65 |MUIA\_Wi|ndow\_Re|
|00004b30| 66 57 69 6e 64 6f 77 5d | 7b 4d 55 49 41 5c 5f 57 |fWindow]|{MUIA\_W|
|00004b40| 69 6e 64 6f 77 5c 5f 52 | 65 66 57 69 6e 64 6f 77 |indow\_R|efWindow|
|00004b50| 20 2d 2d 20 28 56 34 29 | 20 5b 49 53 2e 5d 2c 20 | -- (V4)| [IS.], |
|00004b60| 4f 62 6a 65 63 74 20 24 | 5c 61 73 74 24 7d 0a 0a |Object $|\ast$}..|
|00004b70| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00004b80| 46 55 4e 43 54 49 4f 4e | 7d 0a 53 65 74 74 69 6e |FUNCTION|}.Settin|
|00004b90| 67 20 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |g MUIA\_|Window\_|
|00004ba0| 52 65 66 57 69 6e 64 6f | 77 20 74 6f 20 61 6e 6f |RefWindo|w to ano|
|00004bb0| 74 68 65 72 20 4d 55 49 | 20 77 69 6e 64 6f 77 0a |ther MUI| window.|
|00004bc0| 6f 62 6a 65 63 74 20 77 | 69 6c 6c 20 6d 61 6b 65 |object w|ill make|
|00004bd0| 20 74 68 65 20 6c 65 66 | 74 20 61 6e 64 20 74 6f | the lef|t and to|
|00004be0| 70 20 70 6f 73 69 74 69 | 6f 6e 20 72 65 6c 61 74 |p positi|on relat|
|00004bf0| 69 76 65 0a 74 6f 20 74 | 68 69 73 20 72 65 66 65 |ive.to t|his refe|
|00004c00| 72 65 6e 63 65 20 77 69 | 6e 64 6f 77 2e 20 55 73 |rence wi|ndow. Us|
|00004c10| 69 6e 67 20 74 68 65 0a | 4d 55 49 41 5c 5f 57 69 |ing the.|MUIA\_Wi|
|00004c20| 6e 64 6f 77 5c 5f 4c 65 | 66 74 28 54 6f 70 29 45 |ndow\_Le|ft(Top)E|
|00004c30| 64 67 65 5c 5f 43 65 6e | 74 65 72 65 64 20 74 61 |dge\_Cen|tered ta|
|00004c40| 67 2c 20 79 6f 75 20 63 | 61 6e 20 65 61 73 69 6c |g, you c|an easil|
|00004c50| 79 0a 6f 70 65 6e 20 6f | 6e 65 20 77 69 6e 64 6f |y.open o|ne windo|
|00004c60| 77 20 77 69 74 68 69 6e | 20 61 6e 6f 74 68 65 72 |w within| another|
|00004c70| 2e 0a 0a 4e 6f 74 65 20 | 74 68 61 74 20 69 66 20 |...Note |that if |
|00004c80| 79 6f 75 72 20 77 69 6e | 64 6f 77 20 68 61 73 20 |your win|dow has |
|00004c90| 61 6e 20 69 64 2c 20 74 | 68 65 20 77 69 6e 64 6f |an id, t|he windo|
|00004ca0| 77 20 77 69 6c 6c 0a 72 | 65 6d 65 6d 62 65 72 20 |w will.r|emember |
|00004cb0| 69 74 73 20 6c 61 73 74 | 20 70 6f 73 69 74 69 6f |its last| positio|
|00004cc0| 6e 20 61 6e 64 20 72 65 | 6f 70 65 6e 20 74 68 65 |n and re|open the|
|00004cd0| 72 65 2e 20 54 68 75 73 | 2c 0a 74 68 69 73 20 74 |re. Thus|,.this t|
|00004ce0| 61 67 20 69 73 20 6f 6e | 6c 79 20 75 73 65 66 75 |ag is on|ly usefu|
|00004cf0| 6c 20 69 66 20 79 6f 75 | 20 6f 6d 69 74 20 4d 55 |l if you| omit MU|
|00004d00| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 49 44 2c 0a |IA\_Wind|ow\_ID,.|
|00004d10| 6d 61 79 62 65 20 66 6f | 72 20 73 6f 6d 65 20 73 |maybe fo|r some s|
|00004d20| 6d 61 6c 6c 20 72 65 71 | 75 65 73 74 65 72 20 77 |mall req|uester w|
|00004d30| 69 6e 64 6f 77 73 2e 0a | 0a 5c 73 75 62 73 75 62 |indows..|.\subsub|
|00004d40| 73 65 63 74 69 6f 6e 2a | 7b 53 45 45 20 41 4c 53 |section*|{SEE ALS|
|00004d50| 4f 7d 0a 4d 55 49 41 5c | 5f 57 69 6e 64 6f 77 5c |O}.MUIA\|_Window\|
|00004d60| 5f 49 44 2c 20 4d 55 49 | 41 5c 5f 57 69 6e 64 6f |_ID, MUI|A\_Windo|
|00004d70| 77 5c 5f 4c 65 66 74 45 | 64 67 65 0a 0a 5c 73 75 |w\_LeftE|dge..\su|
|00004d80| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 57 |bsection|[MUIA\_W|
|00004d90| 69 6e 64 6f 77 5c 5f 52 | 6f 6f 74 4f 62 6a 65 63 |indow\_R|ootObjec|
|00004da0| 74 5d 7b 4d 55 49 41 5c | 5f 57 69 6e 64 6f 77 5c |t]{MUIA\|_Window\|
|00004db0| 5f 52 6f 6f 74 4f 62 6a | 65 63 74 20 2d 2d 20 28 |_RootObj|ect -- (|
|00004dc0| 56 34 29 20 5b 49 2e 2e | 5d 2c 20 4f 62 6a 65 63 |V4) [I..|], Objec|
|00004dd0| 74 20 24 5c 61 73 74 24 | 7d 0a 0a 5c 73 75 62 73 |t $\ast$|}..\subs|
|00004de0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|00004df0| 49 4f 4e 7d 0a 54 68 69 | 73 20 69 73 20 61 20 70 |ION}.Thi|s is a p|
|00004e00| 6f 69 6e 74 65 72 20 74 | 6f 20 61 20 4d 55 49 20 |ointer t|o a MUI |
|00004e10| 6f 62 6a 65 63 74 20 61 | 6e 64 20 64 65 66 69 6e |object a|nd defin|
|00004e20| 65 73 20 74 68 65 0a 63 | 6f 6e 74 65 6e 74 73 20 |es the.c|ontents |
|00004e30| 6f 66 20 79 6f 75 72 20 | 77 69 6e 64 6f 77 2e 20 |of your |window. |
|00004e40| 55 73 75 61 6c 6c 79 2c | 20 74 68 69 73 20 72 6f |Usually,| this ro|
|00004e50| 6f 74 20 6f 62 6a 65 63 | 74 0a 77 69 6c 6c 20 62 |ot objec|t.will b|
|00004e60| 65 20 6f 66 20 63 6c 61 | 73 73 20 4d 55 49 43 5c |e of cla|ss MUIC\|
|00004e70| 5f 47 72 6f 75 70 20 73 | 69 6e 63 65 20 79 6f 75 |_Group s|ince you|
|00004e80| 20 73 75 72 65 6c 79 20 | 77 61 6e 74 20 74 6f 0a | surely |want to.|
|00004e90| 68 61 76 65 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |have mor|e than o|
|00004ea0| 6e 65 20 67 61 64 67 65 | 74 2e 0a 0a 54 68 65 20 |ne gadge|t...The |
|00004eb0| 72 6f 6f 74 20 6f 62 6a | 65 63 74 20 69 73 20 74 |root obj|ect is t|
|00004ec0| 72 65 61 74 65 64 20 61 | 73 20 63 68 69 6c 64 20 |reated a|s child |
|00004ed0| 6f 66 20 61 20 77 69 6e | 64 6f 77 0a 61 6e 64 20 |of a win|dow.and |
|00004ee0| 77 69 6c 6c 20 62 65 20 | 64 69 73 70 6f 73 65 64 |will be |disposed|
|00004ef0| 20 77 68 65 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 | when th|e window|
|00004f00| 20 69 73 20 64 69 73 70 | 6f 73 65 64 2e 0a 4e 6f | is disp|osed..No|
|00004f10| 74 65 20 74 68 61 74 20 | 77 69 6e 64 6f 77 73 20 |te that |windows |
|00004f20| 63 61 6e 20 6f 6e 6c 79 | 20 68 61 76 65 20 6f 6e |can only| have on|
|00004f30| 65 20 63 68 69 6c 64 2e | 0a 0a 41 6c 74 68 6f 75 |e child.|..Althou|
|00004f40| 67 68 20 79 6f 75 20 6d | 61 79 20 63 72 65 61 74 |gh you m|ay creat|
|00004f50| 65 20 61 20 77 69 6e 64 | 6f 77 20 77 69 74 68 6f |e a wind|ow witho|
|00004f60| 75 74 20 72 6f 6f 74 20 | 6f 62 6a 65 63 74 2c 0a |ut root |object,.|
|00004f70| 79 6f 75 20 68 61 76 65 | 20 74 6f 20 73 65 74 20 |you have| to set |
|00004f80| 6f 6e 65 20 62 65 66 6f | 72 65 20 74 68 65 20 77 |one befo|re the w|
|00004f90| 69 6e 64 6f 77 20 69 73 | 20 6f 70 65 6e 65 6e 64 |indow is| openend|
|00004fa0| 21 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |!..\subs|ubsectio|
|00004fb0| 6e 2a 7b 45 58 41 4d 50 | 4c 45 7d 0a 5c 73 6d 61 |n*{EXAMP|LE}.\sma|
|00004fc0| 6c 6c 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |ll.\begi|n{verbat|
|00004fd0| 69 6d 7d 0a 77 69 6e 20 | 3d 20 57 69 6e 64 6f 77 |im}.win |= Window|
|00004fe0| 4f 62 6a 65 63 74 2c 20 | 4d 55 49 41 5f 57 69 6e |Object, |MUIA_Win|
|00004ff0| 64 6f 77 5f 52 6f 6f 74 | 4f 62 6a 65 63 74 2c 0a |dow_Root|Object,.|
|00005000| 20 20 20 56 47 72 6f 75 | 70 2c 0a 20 20 20 20 20 | VGrou|p,. |
|00005010| 20 43 68 69 6c 64 2c 20 | 2e 2e 2e 2c 0a 20 20 20 | Child, |...,. |
|00005020| 20 20 20 43 68 69 6c 64 | 2c 20 2e 2e 2e 2c 0a 20 | Child|, ...,. |
|00005030| 20 20 20 20 20 45 6e 64 | 2c 0a 20 20 20 45 6e 64 | End|,. End|
|00005040| 3b 0a 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |;..\end{|verbatim|
|00005050| 7d 0a 5c 6e 6f 72 6d 61 | 6c 73 69 7a 65 0a 5c 73 |}.\norma|lsize.\s|
|00005060| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|00005070| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 41 5c 5f 57 69 |E ALSO}.|MUIA\_Wi|
|00005080| 6e 64 6f 77 5c 5f 4f 70 | 65 6e 0a 0a 5c 73 75 62 |ndow\_Op|en..\sub|
|00005090| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 57 69 |section[|MUIA\_Wi|
|000050a0| 6e 64 6f 77 5c 5f 53 63 | 72 65 65 6e 5d 7b 4d 55 |ndow\_Sc|reen]{MU|
|000050b0| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 53 63 72 65 |IA\_Wind|ow\_Scre|
|000050c0| 65 6e 20 2d 2d 20 28 56 | 34 29 20 5b 49 53 47 5d |en -- (V|4) [ISG]|
|000050d0| 2c 20 73 74 72 75 63 74 | 20 53 63 72 65 65 6e 20 |, struct| Screen |
|000050e0| 24 5c 61 73 74 24 7d 0a | 0a 5c 73 75 62 73 75 62 |$\ast$}.|.\subsub|
|000050f0| 73 65 63 74 69 6f 6e 2a | 7b 46 55 4e 43 54 49 4f |section*|{FUNCTIO|
|00005100| 4e 7d 0a 59 6f 75 20 63 | 61 6e 20 67 65 74 20 61 |N}.You c|an get a|
|00005110| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 74 68 65 20 | pointer| to the |
|00005120| 70 61 72 65 6e 74 20 73 | 63 72 65 65 6e 20 6f 66 |parent s|creen of|
|00005130| 20 61 20 77 69 6e 64 6f | 77 20 62 79 0a 67 65 74 | a windo|w by.get|
|00005140| 74 69 6e 67 20 74 68 69 | 73 20 61 74 74 72 69 62 |ting thi|s attrib|
|00005150| 75 74 65 2e 20 54 68 65 | 20 72 65 73 75 6c 74 20 |ute. The| result |
|00005160| 77 69 6c 6c 20 62 65 20 | 4e 55 4c 4c 20 77 68 65 |will be |NULL whe|
|00005170| 6e 20 74 68 65 0a 77 69 | 6e 64 6f 77 20 69 73 20 |n the.wi|ndow is |
|00005180| 63 75 72 72 65 6e 74 6c | 79 20 63 6c 6f 73 65 64 |currentl|y closed|
|00005190| 2e 0a 0a 53 70 65 63 69 | 66 79 69 6e 67 20 4d 55 |...Speci|fying MU|
|000051a0| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 53 63 72 65 |IA\_Wind|ow\_Scre|
|000051b0| 65 6e 20 61 74 20 6f 62 | 6a 65 63 74 20 63 72 65 |en at ob|ject cre|
|000051c0| 61 74 69 6f 6e 20 74 69 | 6d 65 20 6f 72 0a 77 69 |ation ti|me or.wi|
|000051d0| 74 68 20 61 20 53 65 74 | 41 74 74 72 73 28 29 20 |th a Set|Attrs() |
|000051e0| 63 61 6c 6c 20 61 6c 6c | 6f 77 73 20 79 6f 75 20 |call all|ows you |
|000051f0| 74 6f 20 65 78 70 6c 69 | 63 69 74 6c 79 20 74 65 |to expli|citly te|
|00005200| 6c 6c 20 4d 55 49 0a 6f | 6e 20 77 68 69 63 68 20 |ll MUI.o|n which |
|00005210| 73 63 72 65 65 6e 20 74 | 68 65 20 77 69 6e 64 6f |screen t|he windo|
|00005220| 77 20 73 68 6f 75 6c 64 | 20 62 65 20 6f 70 65 6e |w should| be open|
|00005230| 65 64 2e 20 59 6f 75 20 | 6e 6f 72 6d 61 6c 6c 79 |ed. You |normally|
|00005240| 0a 77 6f 6e 27 74 20 6e | 65 65 64 20 74 68 69 73 |.won't n|eed this|
|00005250| 20 66 65 61 74 75 72 65 | 20 61 6e 64 20 6c 65 61 | feature| and lea|
|00005260| 76 65 20 74 68 65 20 64 | 65 63 69 73 69 6f 6e 20 |ve the d|ecision |
|00005270| 61 62 6f 75 74 0a 73 63 | 72 65 65 6e 73 20 74 6f |about.sc|reens to|
|00005280| 20 74 68 65 20 75 73 65 | 72 73 20 70 72 65 66 65 | the use|rs prefe|
|00005290| 72 65 6e 63 65 73 20 73 | 65 74 74 69 6e 67 2e 0a |rences s|etting..|
|000052a0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|000052b0| 7b 53 45 45 20 41 4c 53 | 4f 7d 0a 4d 55 49 41 5c |{SEE ALS|O}.MUIA\|
|000052c0| 5f 57 69 6e 64 6f 77 5c | 5f 50 75 62 6c 69 63 53 |_Window\|_PublicS|
|000052d0| 63 72 65 65 6e 2c 20 4d | 55 49 41 5c 5f 57 69 6e |creen, M|UIA\_Win|
|000052e0| 64 6f 77 5c 5f 57 69 6e | 64 6f 77 0a 0a 5c 73 75 |dow\_Win|dow..\su|
|000052f0| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 57 |bsection|[MUIA\_W|
|00005300| 69 6e 64 6f 77 5c 5f 53 | 63 72 65 65 6e 54 69 74 |indow\_S|creenTit|
|00005310| 6c 65 5d 7b 4d 55 49 41 | 5c 5f 57 69 6e 64 6f 77 |le]{MUIA|\_Window|
|00005320| 5c 5f 53 63 72 65 65 6e | 54 69 74 6c 65 20 2d 2d |\_Screen|Title --|
|00005330| 20 28 56 35 29 20 5b 49 | 53 47 5d 2c 20 53 54 52 | (V5) [I|SG], STR|
|00005340| 50 54 52 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |PTR}..\s|ubsubsec|
|00005350| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|00005360| 54 68 69 73 20 74 65 78 | 74 20 77 69 6c 6c 20 61 |This tex|t will a|
|00005370| 70 70 65 61 72 20 69 6e | 20 74 68 65 20 73 63 72 |ppear in| the scr|
|00005380| 65 65 6e 73 20 74 69 74 | 6c 65 20 62 61 72 0a 77 |eens tit|le bar.w|
|00005390| 68 65 6e 20 74 68 65 20 | 77 69 6e 64 6f 77 20 69 |hen the |window i|
|000053a0| 73 20 61 63 74 69 76 65 | 2e 0a 0a 5c 73 75 62 73 |s active|...\subs|
|000053b0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|000053c0| 4c 53 4f 7d 0a 4d 55 49 | 41 5c 5f 57 69 6e 64 6f |LSO}.MUI|A\_Windo|
|000053d0| 77 5c 5f 54 69 74 6c 65 | 0a 0a 5c 73 75 62 73 65 |w\_Title|..\subse|
|000053e0| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 57 69 6e 64 |ction[MU|IA\_Wind|
|000053f0| 6f 77 5c 5f 53 69 7a 65 | 47 61 64 67 65 74 5d 7b |ow\_Size|Gadget]{|
|00005400| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 53 69 |MUIA\_Wi|ndow\_Si|
|00005410| 7a 65 47 61 64 67 65 74 | 20 2d 2d 20 28 56 34 29 |zeGadget| -- (V4)|
|00005420| 20 5b 49 2e 2e 5d 2c 20 | 42 4f 4f 4c 7d 0a 0a 5c | [I..], |BOOL}..\|
|00005430| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00005440| 55 4e 43 54 49 4f 4e 7d | 0a 54 65 6c 6c 20 4d 55 |UNCTION}|.Tell MU|
|00005450| 49 20 69 66 20 79 6f 75 | 20 77 61 6e 74 20 61 20 |I if you| want a |
|00005460| 73 69 7a 69 6e 67 20 67 | 61 64 67 65 74 20 66 6f |sizing g|adget fo|
|00005470| 72 20 74 68 69 73 20 77 | 69 6e 64 6f 77 2e 0a 55 |r this w|indow..U|
|00005480| 73 75 61 6c 6c 79 20 79 | 6f 75 20 77 6f 6e 27 74 |sually y|ou won't|
|00005490| 20 6e 65 65 64 20 74 68 | 69 73 20 61 74 74 72 69 | need th|is attri|
|000054a0| 62 75 74 65 20 73 69 6e | 63 65 20 4d 55 49 0a 77 |bute sin|ce MUI.w|
|000054b0| 69 6c 6c 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |ill auto|maticall|
|000054c0| 79 20 64 69 73 61 62 6c | 65 20 74 68 65 20 73 69 |y disabl|e the si|
|000054d0| 7a 69 6e 67 20 67 61 64 | 67 65 74 20 77 68 65 6e |zing gad|get when|
|000054e0| 0a 79 6f 75 72 20 77 69 | 6e 64 6f 77 20 69 73 20 |.your wi|ndow is |
|000054f0| 6e 6f 74 20 73 69 7a 65 | 61 62 6c 65 20 62 65 63 |not size|able bec|
|00005500| 61 75 73 65 20 6f 66 20 | 79 6f 75 72 20 67 61 64 |ause of |your gad|
|00005510| 67 65 74 0a 6c 61 79 6f | 75 74 2e 0a 0a 5c 73 75 |get.layo|ut...\su|
|00005520| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 57 |bsection|[MUIA\_W|
|00005530| 69 6e 64 6f 77 5c 5f 53 | 69 7a 65 52 69 67 68 74 |indow\_S|izeRight|
|00005540| 5d 7b 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |]{MUIA\_|Window\_|
|00005550| 53 69 7a 65 52 69 67 68 | 74 20 2d 2d 20 28 56 34 |SizeRigh|t -- (V4|
|00005560| 29 20 5b 49 2e 2e 5d 2c | 20 42 4f 4f 4c 7d 0a 0a |) [I..],| BOOL}..|
|00005570| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00005580| 46 55 4e 43 54 49 4f 4e | 7d 0a 57 68 65 6e 20 73 |FUNCTION|}.When s|
|00005590| 65 74 20 74 6f 20 54 52 | 55 45 2c 20 74 68 65 20 |et to TR|UE, the |
|000055a0| 73 69 7a 65 20 67 61 64 | 67 65 74 20 77 69 6c 6c |size gad|get will|
|000055b0| 20 72 65 73 69 64 65 0a | 69 6e 20 74 68 65 20 72 | reside.|in the r|
|000055c0| 69 67 68 74 20 77 69 6e | 64 6f 77 20 62 6f 72 64 |ight win|dow bord|
|000055d0| 65 72 2e 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |er...\su|bsection|
|000055e0| 5b 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 53 |[MUIA\_W|indow\_S|
|000055f0| 6c 65 65 70 5d 7b 4d 55 | 49 41 5c 5f 57 69 6e 64 |leep]{MU|IA\_Wind|
|00005600| 6f 77 5c 5f 53 6c 65 65 | 70 20 2d 2d 20 28 56 34 |ow\_Slee|p -- (V4|
|00005610| 29 20 5b 2e 53 47 5d 2c | 20 42 4f 4f 4c 7d 0a 0a |) [.SG],| BOOL}..|
|00005620| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00005630| 46 55 4e 43 54 49 4f 4e | 7d 0a 54 68 69 73 20 61 |FUNCTION|}.This a|
|00005640| 74 74 72 69 62 75 74 65 | 20 63 61 6e 20 62 65 20 |ttribute| can be |
|00005650| 75 73 65 64 20 74 6f 20 | 70 75 74 20 61 20 77 69 |used to |put a wi|
|00005660| 6e 64 6f 77 20 74 6f 20 | 73 6c 65 65 70 2e 0a 54 |ndow to |sleep..T|
|00005670| 68 65 20 77 69 6e 64 6f | 77 20 67 65 74 73 20 64 |he windo|w gets d|
|00005680| 69 73 61 62 6c 65 64 20 | 61 6e 64 20 61 20 62 75 |isabled |and a bu|
|00005690| 73 79 20 70 6f 69 6e 74 | 65 72 20 61 70 70 65 61 |sy point|er appea|
|000056a0| 72 73 2e 0a 0a 54 68 65 | 20 61 74 74 72 69 62 75 |rs...The| attribu|
|000056b0| 74 65 20 63 6f 6e 74 61 | 69 6e 73 20 61 20 6e 65 |te conta|ins a ne|
|000056c0| 73 74 69 6e 67 20 63 6f | 75 6e 74 2c 20 69 66 20 |sting co|unt, if |
|000056d0| 79 6f 75 20 74 65 6c 6c | 0a 79 6f 75 72 20 77 69 |you tell|.your wi|
|000056e0| 6e 64 6f 77 20 74 6f 20 | 73 6c 65 65 70 20 74 77 |ndow to |sleep tw|
|000056f0| 69 63 65 2c 20 79 6f 75 | 20 77 69 6c 6c 20 68 61 |ice, you| will ha|
|00005700| 76 65 20 74 6f 20 74 65 | 6c 6c 0a 69 74 20 74 6f |ve to te|ll.it to|
|00005710| 20 77 61 6b 65 20 75 70 | 20 74 77 69 63 65 20 74 | wake up| twice t|
|00005720| 6f 6f 2e 0a 0a 41 20 73 | 6c 65 65 70 69 6e 67 20 |oo...A s|leeping |
|00005730| 77 69 6e 64 6f 77 20 63 | 61 6e 6e 6f 74 20 62 65 |window c|annot be|
|00005740| 20 72 65 73 69 7a 65 64 | 2e 0a 0a 5c 73 75 62 73 | resized|...\subs|
|00005750| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|00005760| 4c 53 4f 7d 0a 4d 55 49 | 41 5c 5f 41 70 70 6c 69 |LSO}.MUI|A\_Appli|
|00005770| 63 61 74 69 6f 6e 5c 5f | 53 6c 65 65 70 0a 0a 5c |cation\_|Sleep..\|
|00005780| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 41 5c |subsecti|on[MUIA\|
|00005790| 5f 57 69 6e 64 6f 77 5c | 5f 54 69 74 6c 65 5d 7b |_Window\|_Title]{|
|000057a0| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 54 69 |MUIA\_Wi|ndow\_Ti|
|000057b0| 74 6c 65 20 2d 2d 20 28 | 56 34 29 20 5b 49 53 47 |tle -- (|V4) [ISG|
|000057c0| 5d 2c 20 53 54 52 50 54 | 52 7d 0a 0a 5c 73 75 62 |], STRPT|R}..\sub|
|000057d0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 46 55 4e 43 |subsecti|on*{FUNC|
|000057e0| 54 49 4f 4e 7d 0a 53 70 | 65 63 69 66 79 20 74 68 |TION}.Sp|ecify th|
|000057f0| 65 20 74 69 74 6c 65 20 | 6f 66 20 61 20 77 69 6e |e title |of a win|
|00005800| 64 6f 77 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |dow...\s|ubsubsec|
|00005810| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00005820| 4d 55 49 41 5c 5f 57 69 | 6e 64 6f 77 5c 5f 53 63 |MUIA\_Wi|ndow\_Sc|
|00005830| 72 65 65 6e 54 69 74 6c | 65 0a 0a 5c 73 75 62 73 |reenTitl|e..\subs|
|00005840| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 57 69 6e |ection[M|UIA\_Win|
|00005850| 64 6f 77 5c 5f 54 6f 70 | 45 64 67 65 5d 7b 4d 55 |dow\_Top|Edge]{MU|
|00005860| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 54 6f 70 45 |IA\_Wind|ow\_TopE|
|00005870| 64 67 65 20 2d 2d 20 28 | 56 34 29 20 5b 49 2e 47 |dge -- (|V4) [I.G|
|00005880| 5d 2c 20 4c 4f 4e 47 7d | 0a 0a 5c 73 75 62 73 75 |], LONG}|..\subsu|
|00005890| 62 73 65 63 74 69 6f 6e | 2a 7b 53 50 45 43 49 41 |bsection|*{SPECIA|
|000058a0| 4c 20 49 4e 50 55 54 53 | 7d 0a 4d 55 49 56 5c 5f |L INPUTS|}.MUIV\_|
|000058b0| 57 69 6e 64 6f 77 5c 5f | 54 6f 70 45 64 67 65 5c |Window\_|TopEdge\|
|000058c0| 5f 43 65 6e 74 65 72 65 | 64 5c 5c 0a 4d 55 49 56 |_Centere|d\\.MUIV|
|000058d0| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 54 6f 70 45 64 67 |\_Window|\_TopEdg|
|000058e0| 65 5c 5f 4d 6f 75 73 65 | 64 5c 5c 0a 4d 55 49 56 |e\_Mouse|d\\.MUIV|
|000058f0| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 54 6f 70 45 64 67 |\_Window|\_TopEdg|
|00005900| 65 5c 5f 44 65 6c 74 61 | 28 70 29 0a 0a 5c 73 75 |e\_Delta|(p)..\su|
|00005910| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|00005920| 43 54 49 4f 4e 7d 0a 53 | 70 65 63 69 66 79 20 74 |CTION}.S|pecify t|
|00005930| 68 65 20 74 6f 70 20 65 | 64 67 65 20 6f 66 20 61 |he top e|dge of a|
|00005940| 20 77 69 6e 64 6f 77 2e | 20 55 73 75 61 6c 6c 79 | window.| Usually|
|00005950| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 6e 27 74 0a |, you sh|ouldn't.|
|00005960| 64 65 66 69 6e 65 20 61 | 20 70 69 78 65 6c 20 76 |define a| pixel v|
|00005970| 61 6c 75 65 20 68 65 72 | 65 20 62 75 74 20 69 6e |alue her|e but in|
|00005980| 73 74 65 61 64 20 75 73 | 65 20 6f 6e 65 20 6f 66 |stead us|e one of|
|00005990| 20 74 68 65 0a 66 6f 6c | 6c 6f 77 69 6e 67 20 6d | the.fol|lowing m|
|000059a0| 61 63 72 6f 73 3a 0a 0a | 5c 62 65 67 69 6e 7b 64 |acros:..|\begin{d|
|000059b0| 65 73 63 72 69 70 74 69 | 6f 6e 7d 0a 5c 69 74 65 |escripti|on}.\ite|
|000059c0| 6d 5b 4d 55 49 56 5c 5f | 57 69 6e 64 6f 77 5c 5f |m[MUIV\_|Window\_|
|000059d0| 54 6f 70 45 64 67 65 5c | 5f 43 65 6e 74 65 72 65 |TopEdge\|_Centere|
|000059e0| 64 3a 5d 0a 77 69 6e 64 | 6f 77 20 61 70 70 65 61 |d:].wind|ow appea|
|000059f0| 72 73 20 63 65 6e 74 65 | 72 65 64 20 6f 6e 20 74 |rs cente|red on t|
|00005a00| 68 65 20 76 69 73 69 62 | 6c 65 20 61 72 65 61 20 |he visib|le area |
|00005a10| 6f 66 20 73 63 72 65 65 | 6e 2e 0a 0a 5c 69 74 65 |of scree|n...\ite|
|00005a20| 6d 5b 4d 55 49 56 5c 5f | 57 69 6e 64 6f 77 5c 5f |m[MUIV\_|Window\_|
|00005a30| 54 6f 70 45 64 67 65 5c | 5f 4d 6f 75 73 65 64 5d |TopEdge\|_Moused]|
|00005a40| 0a 77 69 6e 64 6f 77 20 | 61 70 70 65 61 72 73 20 |.window |appears |
|00005a50| 63 65 6e 74 65 72 65 64 | 20 75 6e 64 65 72 20 74 |centered| under t|
|00005a60| 68 65 20 6d 6f 75 73 65 | 20 70 6f 69 6e 74 65 72 |he mouse| pointer|
|00005a70| 2e 0a 0a 5c 69 74 65 6d | 5b 4d 55 49 56 5c 5f 57 |...\item|[MUIV\_W|
|00005a80| 69 6e 64 6f 77 5c 5f 54 | 6f 70 45 64 67 65 5c 5f |indow\_T|opEdge\_|
|00005a90| 44 65 6c 74 61 28 70 29 | 5d 0a 77 69 6e 64 6f 77 |Delta(p)|].window|
|00005aa0| 20 61 70 70 65 61 72 73 | 20 70 20 70 69 78 65 6c | appears| p pixel|
|00005ab0| 73 20 62 65 6c 6f 77 20 | 74 68 65 20 73 63 72 65 |s below |the scre|
|00005ac0| 65 6e 73 20 74 69 74 6c | 65 20 62 61 72 2e 0a 5c |ens titl|e bar..\|
|00005ad0| 65 6e 64 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |end{desc|ription}|
|00005ae0| 0a 0a 44 65 66 61 75 6c | 74 20 66 6f 72 20 74 68 |..Defaul|t for th|
|00005af0| 69 73 20 74 61 67 20 69 | 73 20 4d 55 49 56 5c 5f |is tag i|s MUIV\_|
|00005b00| 57 69 6e 64 6f 77 5c 5f | 54 6f 70 45 64 67 65 5c |Window\_|TopEdge\|
|00005b10| 5f 43 65 6e 74 65 72 65 | 64 2e 0a 0a 41 73 20 6c |_Centere|d...As l|
|00005b20| 6f 6e 67 20 61 73 20 79 | 6f 75 72 20 77 69 6e 64 |ong as y|our wind|
|00005b30| 6f 77 20 68 61 73 20 61 | 20 77 69 6e 64 6f 77 20 |ow has a| window |
|00005b40| 69 64 20 28 4d 55 49 41 | 5c 5f 57 69 6e 64 6f 77 |id (MUIA|\_Window|
|00005b50| 5c 5f 49 44 29 2c 0a 63 | 68 6f 6f 73 69 6e 67 20 |\_ID),.c|hoosing |
|00005b60| 61 20 70 6f 73 69 74 69 | 6f 6e 20 69 73 20 6e 6f |a positi|on is no|
|00005b70| 74 20 74 68 61 74 20 69 | 6d 70 6f 72 74 61 6e 74 |t that i|mportant|
|00005b80| 2e 20 4d 55 49 20 77 69 | 6c 6c 20 61 6c 77 61 79 |. MUI wi|ll alway|
|00005b90| 73 0a 72 65 6d 65 6d 62 | 65 72 20 61 20 77 69 6e |s.rememb|er a win|
|00005ba0| 64 6f 77 73 20 6c 61 73 | 74 20 70 6f 73 69 74 69 |dows las|t positi|
|00005bb0| 6f 6e 20 61 6e 64 20 73 | 69 7a 65 20 61 6e 64 20 |on and s|ize and |
|00005bc0| 74 68 65 73 65 0a 76 61 | 6c 75 65 73 20 77 69 6c |these.va|lues wil|
|00005bd0| 6c 20 73 69 6d 70 6c 79 | 20 6f 76 65 72 72 69 64 |l simply| overrid|
|00005be0| 65 20 79 6f 75 72 20 73 | 65 74 74 69 6e 67 73 2e |e your s|ettings.|
|00005bf0| 20 50 6f 73 69 74 69 6f | 6e 69 6e 67 0a 61 6e 64 | Positio|ning.and|
|00005c00| 20 73 69 7a 69 6e 67 20 | 73 68 6f 75 6c 64 20 62 | sizing |should b|
|00005c10| 65 20 63 6f 6d 70 6c 65 | 74 65 6c 79 20 75 6e 64 |e comple|tely und|
|00005c20| 65 72 20 75 73 65 72 20 | 63 6f 6e 74 72 6f 6c 2c |er user |control,|
|00005c30| 0a 61 20 70 72 6f 67 72 | 61 6d 6d 65 72 20 64 6f |.a progr|ammer do|
|00005c40| 65 73 6e 27 74 20 6e 65 | 65 64 20 74 6f 20 77 6f |esn't ne|ed to wo|
|00005c50| 72 72 79 20 61 62 6f 75 | 74 20 69 74 2e 0a 0a 5c |rry abou|t it...\|
|00005c60| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00005c70| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 57 |EE ALSO}|.MUIA\_W|
|00005c80| 69 6e 64 6f 77 5c 5f 4c | 65 66 74 45 64 67 65 2c |indow\_L|eftEdge,|
|00005c90| 20 4d 55 49 41 5c 5f 57 | 69 6e 64 6f 77 5c 5f 49 | MUIA\_W|indow\_I|
|00005ca0| 44 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |D..\subs|ection[M|
|00005cb0| 55 49 41 5c 5f 57 69 6e | 64 6f 77 5c 5f 57 69 64 |UIA\_Win|dow\_Wid|
|00005cc0| 74 68 5d 7b 4d 55 49 41 | 5c 5f 57 69 6e 64 6f 77 |th]{MUIA|\_Window|
|00005cd0| 5c 5f 57 69 64 74 68 20 | 2d 2d 20 28 56 34 29 20 |\_Width |-- (V4) |
|00005ce0| 5b 49 2e 47 5d 2c 20 4c | 4f 4e 47 7d 0a 0a 5c 73 |[I.G], L|ONG}..\s|
|00005cf0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 50 |ubsubsec|tion*{SP|
|00005d00| 45 43 49 41 4c 20 49 4e | 50 55 54 53 7d 0a 4d 55 |ECIAL IN|PUTS}.MU|
|00005d10| 49 56 5c 5f 57 69 6e 64 | 6f 77 5c 5f 57 69 64 74 |IV\_Wind|ow\_Widt|
|00005d20| 68 5c 5f 4d 69 6e 4d 61 | 78 28 70 29 5c 5c 0a 4d |h\_MinMa|x(p)\\.M|
|00005d30| 55 49 56 5c 5f 57 69 6e | 64 6f 77 5c 5f 57 69 64 |UIV\_Win|dow\_Wid|
|00005d40| 74 68 5c 5f 56 69 73 69 | 62 6c 65 28 70 29 5c 5c |th\_Visi|ble(p)\\|
|00005d50| 0a 4d 55 49 56 5c 5f 57 | 69 6e 64 6f 77 5c 5f 57 |.MUIV\_W|indow\_W|
|00005d60| 69 64 74 68 5c 5f 53 63 | 72 65 65 6e 28 70 29 5c |idth\_Sc|reen(p)\|
|00005d70| 5c 0a 4d 55 49 56 5c 5f | 57 69 6e 64 6f 77 5c 5f |\.MUIV\_|Window\_|
|00005d80| 57 69 64 74 68 5c 5f 53 | 63 61 6c 65 64 5c 5c 0a |Width\_S|caled\\.|
|00005d90| 4d 55 49 56 5c 5f 57 69 | 6e 64 6f 77 5c 5f 57 69 |MUIV\_Wi|ndow\_Wi|
|00005da0| 64 74 68 5c 5f 44 65 66 | 61 75 6c 74 0a 0a 5c 73 |dth\_Def|ault..\s|
|00005db0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|00005dc0| 4e 43 54 49 4f 4e 7d 0a | 53 70 65 63 69 66 79 20 |NCTION}.|Specify |
|00005dd0| 74 68 65 20 77 69 64 74 | 68 20 6f 66 20 61 20 77 |the widt|h of a w|
|00005de0| 69 6e 64 6f 77 2e 20 55 | 73 75 61 6c 6c 79 2c 20 |indow. U|sually, |
|00005df0| 79 6f 75 20 77 6f 6e 27 | 74 20 67 69 76 65 0a 61 |you won'|t give.a|
|00005e00| 20 70 69 78 65 6c 20 76 | 61 6c 75 65 20 68 65 72 | pixel v|alue her|
|00005e10| 65 20 62 75 74 20 69 6e | 73 74 65 61 64 20 75 73 |e but in|stead us|
|00005e20| 65 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |e one of| the fol|
|00005e30| 6c 6f 77 69 6e 67 0a 6d | 61 67 69 63 20 6d 61 63 |lowing.m|agic mac|
|00005e40| 72 6f 73 3a 0a 0a 5c 62 | 65 67 69 6e 7b 64 65 73 |ros:..\b|egin{des|
|00005e50| 63 72 69 70 74 69 6f 6e | 7d 0a 5c 69 74 65 6d 5b |cription|}.\item[|
|00005e60| 4d 55 49 56 5c 5f 57 69 | 6e 64 6f 77 5c 5f 57 69 |MUIV\_Wi|ndow\_Wi|
|00005e70| 64 74 68 5c 5f 44 65 66 | 61 75 6c 74 3a 5d 0a 63 |dth\_Def|ault:].c|
|00005e80| 61 6c 63 75 6c 61 74 65 | 64 20 66 72 6f 6d 20 6f |alculate|d from o|
|00005e90| 62 6a 65 63 74 73 20 64 | 65 66 61 75 6c 74 20 73 |bjects d|efault s|
|00005ea0| 69 7a 65 73 2e 0a 0a 5c | 69 74 65 6d 5b 4d 55 49 |izes...\|item[MUI|
|00005eb0| 56 5c 5f 57 69 6e 64 6f | 77 5c 5f 57 69 64 74 68 |V\_Windo|w\_Width|
|00005ec0| 5c 5f 4d 69 6e 4d 61 78 | 28 30 2e 2e 31 30 30 29 |\_MinMax|(0..100)|
|00005ed0| 3a 5d 0a 73 6f 6d 65 77 | 68 65 72 65 20 62 65 74 |:].somew|here bet|
|00005ee0| 77 65 65 6e 20 74 68 65 | 20 6d 69 6e 69 6d 75 6d |ween the| minimum|
|00005ef0| 20 77 69 64 74 68 20 28 | 30 29 20 61 6e 64 20 74 | width (|0) and t|
|00005f00| 68 65 0a 6d 61 78 69 6d | 75 6d 20 77 69 64 74 68 |he.maxim|um width|
|00005f10| 20 28 31 30 30 29 20 6f | 66 20 79 6f 75 72 20 77 | (100) o|f your w|
|00005f20| 69 6e 64 6f 77 2e 0a 0a | 5c 69 74 65 6d 5b 4d 55 |indow...|\item[MU|
|00005f30| 49 56 5c 5f 57 69 6e 64 | 6f 77 5c 5f 57 69 64 74 |IV\_Wind|ow\_Widt|
|00005f40| 68 5c 5f 56 69 73 69 62 | 6c 65 28 31 2e 2e 31 30 |h\_Visib|le(1..10|
|00005f50| 30 29 3a 5d 0a 70 65 72 | 63 65 6e 74 61 67 65 20 |0):].per|centage |
|00005f60| 6f 66 20 74 68 65 20 73 | 63 72 65 65 6e 73 20 76 |of the s|creens v|
|00005f70| 69 73 69 62 6c 65 20 77 | 69 64 74 68 2e 0a 0a 5c |isible w|idth...\|
|00005f80| 69 74 65 6d 5b 4d 55 49 | 56 5c 5f 57 69 6e 64 6f |item[MUI|V\_Windo|
|00005f90| 77 5c 5f 57 69 64 74 68 | 5c 5f 53 63 72 65 65 6e |w\_Width|\_Screen|
|00005fa0| 28 31 2e 2e 31 30 30 29 | 3a 5d 0a 70 65 72 63 65 |(1..100)|:].perce|
|00005fb0| 6e 74 61 67 65 20 6f 66 | 20 74 68 65 20 73 63 72 |ntage of| the scr|
|00005fc0| 65 65 6e 73 20 74 6f 74 | 61 6c 20 77 69 64 74 68 |eens tot|al width|
|00005fd0| 2e 0a 0a 5c 69 74 65 6d | 5b 4d 55 49 56 5c 5f 57 |...\item|[MUIV\_W|
|00005fe0| 69 6e 64 6f 77 5c 5f 57 | 69 64 74 68 5c 5f 53 63 |indow\_W|idth\_Sc|
|00005ff0| 61 6c 65 64 3a 5d 0a 77 | 69 64 74 68 20 77 69 6c |aled:].w|idth wil|
|00006000| 6c 20 62 65 20 61 64 6a | 75 73 74 65 64 20 73 6f |l be adj|usted so|
|00006010| 20 74 68 61 74 0a 77 69 | 64 74 68 20 3a 20 68 65 | that.wi|dth : he|
|00006020| 69 67 68 74 20 3d 3d 20 | 6d 69 6e 69 6d 75 6d 20 |ight == |minimum |
|00006030| 77 69 64 74 68 20 3a 20 | 6d 69 6e 69 6d 75 6d 20 |width : |minimum |
|00006040| 68 65 69 67 68 74 2e 0a | 4e 6f 74 65 20 74 68 61 |height..|Note tha|
|00006050| 74 20 61 20 77 69 6e 64 | 6f 77 73 20 77 69 64 74 |t a wind|ows widt|
|00006060| 68 20 61 6e 64 20 68 65 | 69 67 68 74 20 6d 61 79 |h and he|ight may|
|00006070| 20 6e 6f 74 0a 62 6f 74 | 68 20 62 65 20 73 63 61 | not.bot|h be sca|
|00006080| 6c 65 64 2e 0a 5c 65 6e | 64 7b 64 65 73 63 72 69 |led..\en|d{descri|
|00006090| 70 74 69 6f 6e 7d 0a 0a | 44 65 66 61 75 6c 74 20 |ption}..|Default |
|000060a0| 66 6f 72 20 74 68 69 73 | 20 74 61 67 20 69 73 20 |for this| tag is |
|000060b0| 4d 55 49 56 5c 5f 57 69 | 6e 64 6f 77 5c 5f 57 69 |MUIV\_Wi|ndow\_Wi|
|000060c0| 64 74 68 5c 5f 44 65 66 | 61 75 6c 74 2e 0a 0a 41 |dth\_Def|ault...A|
|000060d0| 73 20 6c 6f 6e 67 20 61 | 73 20 79 6f 75 72 20 77 |s long a|s your w|
|000060e0| 69 6e 64 6f 77 20 68 61 | 73 20 61 20 77 69 6e 64 |indow ha|s a wind|
|000060f0| 6f 77 20 69 64 20 28 4d | 55 49 41 5c 5f 57 69 6e |ow id (M|UIA\_Win|
|00006100| 64 6f 77 5c 5f 49 44 29 | 2c 0a 63 68 6f 6f 73 69 |dow\_ID)|,.choosi|
|00006110| 6e 67 20 61 20 73 69 7a | 65 20 69 73 20 6e 6f 74 |ng a siz|e is not|
|00006120| 20 74 68 61 74 20 69 6d | 70 6f 72 74 61 6e 74 2e | that im|portant.|
|00006130| 20 4d 55 49 20 77 69 6c | 6c 20 61 6c 77 61 79 73 | MUI wil|l always|
|00006140| 0a 72 65 6d 65 6d 62 65 | 72 20 61 20 77 69 6e 64 |.remembe|r a wind|
|00006150| 6f 77 73 20 6c 61 73 74 | 20 70 6f 73 69 74 69 6f |ows last| positio|
|00006160| 6e 20 61 6e 64 20 73 69 | 7a 65 20 61 6e 64 20 74 |n and si|ze and t|
|00006170| 68 65 73 65 0a 76 61 6c | 75 65 73 20 77 69 6c 6c |hese.val|ues will|
|00006180| 20 73 69 6d 70 6c 79 20 | 6f 76 65 72 72 69 64 65 | simply |override|
|00006190| 20 79 6f 75 72 20 73 65 | 74 74 69 6e 67 73 2e 20 | your se|ttings. |
|000061a0| 50 6f 73 69 74 69 6f 6e | 69 6e 67 0a 61 6e 64 20 |Position|ing.and |
|000061b0| 73 69 7a 69 6e 67 20 73 | 68 6f 75 6c 64 20 62 65 |sizing s|hould be|
|000061c0| 20 63 6f 6d 70 6c 65 74 | 65 6c 79 20 75 6e 64 65 | complet|ely unde|
|000061d0| 72 20 75 73 65 72 20 63 | 6f 6e 74 72 6f 6c 2c 0a |r user c|ontrol,.|
|000061e0| 61 20 70 72 6f 67 72 61 | 6d 6d 65 72 20 64 6f 65 |a progra|mmer doe|
|000061f0| 73 6e 27 74 20 6e 65 65 | 64 20 74 6f 20 77 6f 72 |sn't nee|d to wor|
|00006200| 72 79 20 61 62 6f 75 74 | 20 69 74 2e 0a 0a 5c 73 |ry about| it...\s|
|00006210| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|00006220| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 41 5c 5f 57 69 |E ALSO}.|MUIA\_Wi|
|00006230| 6e 64 6f 77 5c 5f 48 65 | 69 67 68 74 2c 20 4d 55 |ndow\_He|ight, MU|
|00006240| 49 41 5c 5f 57 69 6e 64 | 6f 77 5c 5f 49 44 0a 0a |IA\_Wind|ow\_ID..|
|00006250| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|00006260| 5c 5f 57 69 6e 64 6f 77 | 5c 5f 57 69 6e 64 6f 77 |\_Window|\_Window|
|00006270| 5d 7b 4d 55 49 41 5c 5f | 57 69 6e 64 6f 77 5c 5f |]{MUIA\_|Window\_|
|00006280| 57 69 6e 64 6f 77 20 2d | 2d 20 28 56 34 29 20 5b |Window -|- (V4) [|
|00006290| 2e 2e 47 5d 2c 20 73 74 | 72 75 63 74 20 57 69 6e |..G], st|ruct Win|
|000062a0| 64 6f 77 20 24 5c 61 73 | 74 24 7d 0a 0a 5c 73 75 |dow $\as|t$}..\su|
|000062b0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|000062c0| 43 54 49 4f 4e 7d 0a 57 | 68 65 6e 20 79 6f 75 72 |CTION}.W|hen your|
|000062d0| 20 77 69 6e 64 6f 77 20 | 69 73 20 6f 70 65 6e 2c | window |is open,|
|000062e0| 20 79 6f 75 20 63 61 6e | 20 6f 62 74 61 69 6e 20 | you can| obtain |
|000062f0| 61 20 70 6f 69 6e 74 65 | 72 0a 74 6f 20 74 68 65 |a pointe|r.to the|
|00006300| 20 69 6e 74 75 69 74 69 | 6f 6e 20 57 69 6e 64 6f | intuiti|on Windo|
|00006310| 77 20 73 74 72 75 63 74 | 75 72 65 20 77 69 74 68 |w struct|ure with|
|00006320| 20 74 68 69 73 20 74 61 | 67 0a 61 6e 64 20 75 73 | this ta|g.and us|
|00006330| 65 20 69 74 20 65 2e 67 | 2e 20 69 6e 20 61 6e 20 |e it e.g|. in an |
|00006340| 61 73 6c 2e 6c 69 62 72 | 61 72 79 20 72 65 71 75 |asl.libr|ary requ|
|00006350| 65 73 74 65 72 20 63 61 | 6c 6c 2e 0a 0a 53 69 6e |ester ca|ll...Sin|
|00006360| 63 65 20 74 68 65 20 75 | 73 65 72 20 63 61 6e 20 |ce the u|ser can |
|00006370| 63 6c 6f 73 65 20 79 6f | 75 72 20 77 69 6e 64 6f |close yo|ur windo|
|00006380| 77 20 61 6e 79 20 74 69 | 6d 65 0a 28 65 2e 67 2e |w any ti|me.(e.g.|
|00006390| 20 69 63 6f 6e 69 66 69 | 63 61 74 69 6f 6e 29 2c | iconifi|cation),|
|000063a0| 20 79 6f 75 20 6d 75 73 | 74 20 62 65 20 70 72 65 | you mus|t be pre|
|000063b0| 70 61 72 65 64 20 74 6f | 0a 72 65 63 65 69 76 65 |pared to|.receive|
|000063c0| 20 61 20 4e 55 4c 4c 20 | 70 6f 69 6e 74 65 72 20 | a NULL |pointer |
|000063d0| 61 73 20 72 65 73 75 6c | 74 2e 0a 0a 5c 73 75 62 |as resul|t...\sub|
|000063e0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|000063f0| 41 4c 53 4f 7d 0a 4d 55 | 49 41 5c 5f 57 69 6e 64 |ALSO}.MU|IA\_Wind|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.